Skip to content

Commit

Permalink
Transfer telegram changelog task into changelog package
Browse files Browse the repository at this point in the history
  • Loading branch information
rinekri committed Jul 24, 2024
1 parent ecc622e commit 01fefde
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import ru.kode.android.build.publish.plugin.task.slack.changelog.SendSlackChange
import ru.kode.android.build.publish.plugin.task.slack.distribution.SlackDistributionTask
import ru.kode.android.build.publish.plugin.task.tag.GetLastTagTask
import ru.kode.android.build.publish.plugin.task.tag.PrintLastIncreasedTag
import ru.kode.android.build.publish.plugin.task.telegram.SendTelegramChangelogTask
import ru.kode.android.build.publish.plugin.task.telegram.changelog.SendTelegramChangelogTask
import ru.kode.android.build.publish.plugin.util.capitalizedName
import java.io.File
import java.time.LocalDate
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ru.kode.android.build.publish.plugin.task.telegram
package ru.kode.android.build.publish.plugin.task.telegram.changelog

import org.gradle.api.DefaultTask
import org.gradle.api.file.RegularFileProperty
Expand All @@ -15,6 +15,14 @@ import org.gradle.workers.WorkerExecutor
import ru.kode.android.build.publish.plugin.enity.mapper.fromJson
import ru.kode.android.build.publish.plugin.task.telegram.work.SendTelegramChangelogWork
import javax.inject.Inject
import kotlin.collections.joinToString
import kotlin.collections.orEmpty
import kotlin.io.readText
import kotlin.jvm.java
import kotlin.sequences.forEach
import kotlin.text.isNullOrEmpty
import kotlin.text.replace
import kotlin.text.toRegex

abstract class SendTelegramChangelogTask
@Inject
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ru.kode.android.build.publish.plugin.task.telegram.sender
package ru.kode.android.build.publish.plugin.task.telegram.changelog.sender

import com.squareup.moshi.Moshi
import okhttp3.OkHttpClient
Expand Down

0 comments on commit 01fefde

Please sign in to comment.