diff options
Diffstat (limited to 'build-logic/kotlin-plugins/build.gradle.kts')
-rw-r--r-- | build-logic/kotlin-plugins/build.gradle.kts | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/build-logic/kotlin-plugins/build.gradle.kts b/build-logic/kotlin-plugins/build.gradle.kts index 3984c2a6..71230f52 100644 --- a/build-logic/kotlin-plugins/build.gradle.kts +++ b/build-logic/kotlin-plugins/build.gradle.kts @@ -24,6 +24,35 @@ afterEvaluate { } } +gradlePlugin { + plugins { + register("binary-compatibility") { + id = "com.github.android-password-store.binary-compatibility" + implementationClass = "dev.msfjarvis.aps.gradle.BinaryCompatibilityPlugin" + } + register("kotlin-android") { + id = "com.github.android-password-store.kotlin-android" + implementationClass = "dev.msfjarvis.aps.gradle.KotlinAndroidPlugin" + } + register("kotlin-common") { + id = "com.github.android-password-store.kotlin-common" + implementationClass = "dev.msfjarvis.aps.gradle.KotlinCommonPlugin" + } + register("kotlin-kapt") { + id = "com.github.android-password-store.kotlin-kapt" + implementationClass = "dev.msfjarvis.aps.gradle.KotlinKaptPlugin" + } + register("kotlin-library") { + id = "com.github.android-password-store.kotlin-library" + implementationClass = "dev.msfjarvis.aps.gradle.KotlinLibraryPlugin" + } + register("spotless") { + id = "com.github.android-password-store.spotless" + implementationClass = "dev.msfjarvis.aps.gradle.SpotlessPlugin" + } + } +} + dependencies { implementation(libs.build.agp) implementation(libs.build.binarycompat) @@ -38,7 +67,7 @@ configurations.all { val overridenVersion = System.getenv(overrideName) if (!overridenVersion.isNullOrEmpty()) { project.logger.lifecycle( - "Overriding dependency ${requested.group}:${requested.name} to version ${overridenVersion}" + "Overriding dependency ${requested.group}:${requested.name} to version $overridenVersion" ) useVersion(overridenVersion) } |