diff options
Diffstat (limited to 'build-logic/android-plugins/src')
-rw-r--r-- | build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.published-android-library.gradle.kts | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.published-android-library.gradle.kts b/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.published-android-library.gradle.kts index 0600e54f..5f2c51f3 100644 --- a/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.published-android-library.gradle.kts +++ b/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.published-android-library.gradle.kts @@ -4,7 +4,6 @@ */ import com.vanniktech.maven.publish.AndroidSingleVariantLibrary -import com.vanniktech.maven.publish.MavenPublishBaseExtension import com.vanniktech.maven.publish.SonatypeHost import org.gradle.kotlin.dsl.provideDelegate @@ -14,15 +13,15 @@ plugins { id("signing") } +group = requireNotNull(project.findProperty("GROUP")) + +version = requireNotNull(project.findProperty("VERSION_NAME")) + @Suppress("UnstableApiUsage") -configure<MavenPublishBaseExtension> { - group = requireNotNull(project.findProperty("GROUP")) - version = requireNotNull(project.findProperty("VERSION_NAME")) - mavenPublishing { - publishToMavenCentral(SonatypeHost.DEFAULT) - signAllPublications() - configure(AndroidSingleVariantLibrary()) - } +mavenPublishing { + publishToMavenCentral(SonatypeHost.DEFAULT) + signAllPublications() + configure(AndroidSingleVariantLibrary()) pomFromGradleProperties() } |