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
1
2
import org.gradle.api.tasks.testing.Test
2
3
import org.gradle.api.tasks.testing.logging.TestLogEvent
3
4
import org.gradle.kotlin.dsl.withType
@@ -7,13 +8,19 @@ plugins {
7
8
id(" org.jetbrains.dokka" )
8
9
id(" com.diffplug.spotless" )
9
10
id(" org.jetbrains.kotlinx.binary-compatibility-validator" )
10
- id(" com.vanniktech.maven.publish" )
11
+ id(" com.vanniktech.maven.publish.base" )
12
+ id(" signing" )
11
13
}
12
14
15
+ group = requireNotNull(project.findProperty(" GROUP" ))
16
+
17
+ version = requireNotNull(project.findProperty(" VERSION_NAME" ))
18
+
13
19
@Suppress(" UnstableApiUsage" )
14
20
mavenPublishing {
15
21
signAllPublications()
16
22
pomFromGradleProperties()
23
+ configure(KotlinMultiplatform ())
17
24
}
18
25
19
26
publishing {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ pluginManagement {
17
17
id(" org.jetbrains.dokka" ) version " 1.6.21"
18
18
id(" com.diffplug.spotless" ) version " 6.7.0"
19
19
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"
21
21
}
22
22
}
23
23
You can’t perform that action at this time.
0 commit comments