Skip to content

Commit

Permalink
Merge pull request #636 from kiwicom/amtcny/adding_android_library_pu…
Browse files Browse the repository at this point in the history
…blishing_config

Add back AndroidSingleVariantLibrary publishing configuration
  • Loading branch information
Alex Matečný authored Mar 8, 2024
2 parents 526420d + 9224cb9 commit 01de007
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package kiwi.orbit.compose.buildlogic

import com.vanniktech.maven.publish.AndroidSingleVariantLibrary
import com.vanniktech.maven.publish.MavenPublishBaseExtension
import com.vanniktech.maven.publish.SonatypeHost
import java.time.Year
Expand Down Expand Up @@ -33,11 +34,14 @@ class PublishPlugin : Plugin<Project> {
}
}

@Suppress("UnstableApiUsage")
extensions.configure<MavenPublishBaseExtension> {
group = requireNotNull(project.findProperty("GROUP"))
version = requireNotNull(project.findProperty("VERSION_NAME"))

publishToMavenCentral(SonatypeHost.S01, automaticRelease = true)
signAllPublications()
configure(AndroidSingleVariantLibrary())
}

tasks.withType<DokkaTaskPartial>().configureEach {
Expand Down

0 comments on commit 01de007

Please sign in to comment.