File tree Expand file tree Collapse file tree 3 files changed +27
-27
lines changed Expand file tree Collapse file tree 3 files changed +27
-27
lines changed Original file line number Diff line number Diff line change @@ -55,15 +55,6 @@ kotlin {
55
55
freeCompilerArgs = listOf (" -Xopt-in=kotlin.RequiresOptIn" )
56
56
}
57
57
}
58
-
59
- mavenPublication {
60
- artifact(tasks[" javadocJar" ])
61
-
62
- decorateMavenPom {
63
- name.set(" GW2APIClient Ktor Implementation" )
64
- description.set(" Ktor HttpClient implementation for GW2APIClient." )
65
- }
66
- }
67
58
}
68
59
69
60
// js(IR) {
@@ -152,6 +143,15 @@ tasks {
152
143
}
153
144
154
145
publishing {
146
+ publications.withType<MavenPublication >().all {
147
+ artifact(tasks[" javadocJar" ])
148
+
149
+ decorateMavenPom {
150
+ name.set(" GW2APIClient Ktor Implementation" )
151
+ description.set(" Ktor HttpClient implementation for GW2APIClient." )
152
+ }
153
+ }
154
+
155
155
repositories {
156
156
maven {
157
157
url = uri(deployment.repo)
Original file line number Diff line number Diff line change @@ -54,15 +54,6 @@ kotlin {
54
54
freeCompilerArgs = listOf (" -Xopt-in=kotlin.RequiresOptIn" )
55
55
}
56
56
}
57
-
58
- mavenPublication {
59
- artifact(tasks[" javadocJar" ])
60
-
61
- decorateMavenPom {
62
- name.set(" GW2APIClient Query Definitions" )
63
- description.set(" Definitions for the various queries supported by the official Guild Wars 2 API." )
64
- }
65
- }
66
57
}
67
58
68
59
// js(IR) {
@@ -166,6 +157,15 @@ tasks {
166
157
}
167
158
168
159
publishing {
160
+ publications.withType<MavenPublication >().all {
161
+ artifact(tasks[" javadocJar" ])
162
+
163
+ decorateMavenPom {
164
+ name.set(" GW2APIClient Query Definitions" )
165
+ description.set(" Definitions for the various queries supported by the official Guild Wars 2 API." )
166
+ }
167
+ }
168
+
169
169
repositories {
170
170
maven {
171
171
url = uri(deployment.repo)
Original file line number Diff line number Diff line change @@ -55,15 +55,6 @@ kotlin {
55
55
apiVersion = " 1.4"
56
56
}
57
57
}
58
-
59
- mavenPublication {
60
- artifact(tasks[" javadocJar" ])
61
-
62
- decorateMavenPom {
63
- name.set(" GW2API Type Definitions" )
64
- description.set(" Definitions for the various objects returned by the official Guild Wars 2 API." )
65
- }
66
- }
67
58
}
68
59
69
60
// js(IR) {
@@ -130,6 +121,15 @@ tasks {
130
121
}
131
122
132
123
publishing {
124
+ publications.withType<MavenPublication >().all {
125
+ artifact(tasks[" javadocJar" ])
126
+
127
+ decorateMavenPom {
128
+ name.set(" GW2API Type Definitions" )
129
+ description.set(" Definitions for the various objects returned by the official Guild Wars 2 API." )
130
+ }
131
+ }
132
+
133
133
repositories {
134
134
maven {
135
135
url = uri(deployment.repo)
You can’t perform that action at this time.
0 commit comments