Skip to content

Commit

Permalink
Add configurations to publish kotlin multiplatform lib
Browse files Browse the repository at this point in the history
  • Loading branch information
extmkv committed Sep 10, 2024
1 parent 4eae42c commit f377269
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import com.vanniktech.maven.publish.JavadocJar
import com.vanniktech.maven.publish.KotlinMultiplatform
import com.vanniktech.maven.publish.SonatypeHost

buildscript {
Expand All @@ -23,6 +25,12 @@ allprojects {
mavenPublishing {
publishToMavenCentral(SonatypeHost.S01, automaticRelease = true)
signAllPublications()
configure(
KotlinMultiplatform(
javadocJar = JavadocJar.Empty(),
sourcesJar = true,
)
)
}
}
}
2 changes: 1 addition & 1 deletion mvi/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
POM_ARTIFACT_ID=mvi
GROUP=com.adidas.mvi
VERSION_CODE=1
VERSION_NAME=1.8.0
VERSION_NAME=1.8.1
POM_NAME=Adidas MVI
POM_DESCRIPTION=Adidas MVI

0 comments on commit f377269

Please sign in to comment.