From acc448ce740b3756c622daf35d7be8372e76cebb Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 23 Feb 2022 14:25:03 +0530 Subject: Use explicit Gradle tasks to handle build artifact collection (#1745) --- build-logic/automation-plugins/src/main/kotlin/crowdin/CrowdinPlugin.kt | 1 + .../automation-plugins/src/main/kotlin/psl/PublicSuffixListPlugin.kt | 1 + 2 files changed, 2 insertions(+) (limited to 'build-logic/automation-plugins/src') diff --git a/build-logic/automation-plugins/src/main/kotlin/crowdin/CrowdinPlugin.kt b/build-logic/automation-plugins/src/main/kotlin/crowdin/CrowdinPlugin.kt index 9152aff4..e147b42c 100644 --- a/build-logic/automation-plugins/src/main/kotlin/crowdin/CrowdinPlugin.kt +++ b/build-logic/automation-plugins/src/main/kotlin/crowdin/CrowdinPlugin.kt @@ -24,6 +24,7 @@ private const val EXCEPTION_MESSAGE = private const val CROWDIN_BUILD_API_URL = "https://api.crowdin.com/api/project/%s/export?login=%s&account-key=%s" +@Suppress("Unused") class CrowdinDownloadPlugin : Plugin { override fun apply(project: Project) { diff --git a/build-logic/automation-plugins/src/main/kotlin/psl/PublicSuffixListPlugin.kt b/build-logic/automation-plugins/src/main/kotlin/psl/PublicSuffixListPlugin.kt index bc503fde..9d4c3f63 100644 --- a/build-logic/automation-plugins/src/main/kotlin/psl/PublicSuffixListPlugin.kt +++ b/build-logic/automation-plugins/src/main/kotlin/psl/PublicSuffixListPlugin.kt @@ -20,6 +20,7 @@ import org.gradle.kotlin.dsl.register * Base on PublicSuffixListGenerator from OkHttp: * https://github.com/square/okhttp/blob/master/okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.java */ +@Suppress("Unused") class PublicSuffixListPlugin : Plugin { override fun apply(project: Project) { project.tasks.register("updatePSL") { -- cgit v1.2.3