File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ allprojects {
217
217
}
218
218
}
219
219
220
- // Set maven metadata for all known publishing tasks. The exact tasks and names are only known after evaluatin .
220
+ // Set maven metadata for all known publishing tasks. The exact tasks and names are only known after evaluation .
221
221
afterEvaluate {
222
222
tasks.withType<AbstractPublishToMaven >() {
223
223
this .publication?.apply {
@@ -234,6 +234,12 @@ fun MavenPublication.setMetadata() {
234
234
connection.set(" scm:git:https://github.com/modelix/modelix.core.git" )
235
235
url.set(" https://github.com/modelix/modelix.core" )
236
236
}
237
+ licenses {
238
+ license {
239
+ name.set(" The Apache License, Version 2.0" )
240
+ url.set(" http://www.apache.org/licenses/LICENSE-2.0.txt" )
241
+ }
242
+ }
237
243
}
238
244
}
239
245
You can’t perform that action at this time.
0 commit comments