File tree Expand file tree Collapse file tree 3 files changed +16
-10
lines changed
Expand file tree Collapse file tree 3 files changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ impossible at first glance.
1111
1212``` kotlin
1313dependencies {
14- implementation(" com.danrusu:pods4k:[version]" )
14+ implementation(" com.danrusu.pods4k :pods4k:[version]" )
1515}
1616```
1717
@@ -20,7 +20,7 @@ dependencies {
2020``` xml
2121
2222<dependency >
23- <groupId >com.danrusu</groupId >
23+ <groupId >com.danrusu.pods4k </groupId >
2424 <artifactId >pods4k</artifactId >
2525 <version >[version]</version >
2626</dependency >
Original file line number Diff line number Diff line change 1+ import com.vanniktech.maven.publish.JavadocJar
2+ import com.vanniktech.maven.publish.KotlinJvm
3+
14plugins {
25 kotlin(" jvm" ) version libs.versions.kotlin
36 alias(libs.plugins.mavenPublishing)
@@ -7,3 +10,14 @@ dependencies {
710 api(projects.immutableArrays.core)
811 api(projects.immutableArrays.transformationsToStandardCollections)
912}
13+
14+ mavenPublishing {
15+ pom {
16+ packaging = " pom"
17+ }
18+ configure(
19+ KotlinJvm (
20+ javadocJar = JavadocJar .None (),
21+ )
22+ )
23+ }
Original file line number Diff line number Diff line change @@ -3,14 +3,6 @@ plugins {
33 alias(libs.plugins.mavenPublishing)
44}
55
6- javaPlatform {
7- allowDependencies()
8- }
9-
10- repositories {
11- mavenCentral()
12- }
13-
146dependencies {
157 constraints {
168 api(projects.immutableArrays.core)
You can’t perform that action at this time.
0 commit comments