File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1+ import com.vanniktech.maven.publish.KotlinMultiplatform
12import org.gradle.api.tasks.testing.Test
23import org.gradle.api.tasks.testing.logging.TestLogEvent
34import org.gradle.kotlin.dsl.withType
@@ -7,13 +8,19 @@ plugins {
78 id(" org.jetbrains.dokka" )
89 id(" com.diffplug.spotless" )
910 id(" org.jetbrains.kotlinx.binary-compatibility-validator" )
10- id(" com.vanniktech.maven.publish" )
11+ id(" com.vanniktech.maven.publish.base" )
12+ id(" signing" )
1113}
1214
15+ group = requireNotNull(project.findProperty(" GROUP" ))
16+
17+ version = requireNotNull(project.findProperty(" VERSION_NAME" ))
18+
1319@Suppress(" UnstableApiUsage" )
1420mavenPublishing {
1521 signAllPublications()
1622 pomFromGradleProperties()
23+ configure(KotlinMultiplatform ())
1724}
1825
1926publishing {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ pluginManagement {
1717 id(" org.jetbrains.dokka" ) version " 1.6.21"
1818 id(" com.diffplug.spotless" ) version " 6.7.0"
1919 id(" org.jetbrains.kotlinx.binary-compatibility-validator" ) version " 0.10.0"
20- id(" com.vanniktech.maven.publish" ) version " 0.20.0"
20+ id(" com.vanniktech.maven.publish.base " ) version " 0.20.0"
2121 }
2222}
2323
You can’t perform that action at this time.
0 commit comments