Skip to content

Commit 110233d

Browse files
committed
Publish metadata for both Gradle plugin Mavencentral artifacts
1 parent 94413e3 commit 110233d

File tree

1 file changed

+14
-22
lines changed

1 file changed

+14
-22
lines changed

org.graalvm.python.gradle.plugin/build.gradle

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -54,29 +54,21 @@ publishing {
5454
}
5555
}
5656
}
57-
publications {
58-
mavenJava(MavenPublication) {
59-
from components.java
60-
}
61-
pluginMaven(MavenPublication) {
62-
// TODO: why this does not appear in the generated pom.xml for Mavencentral/local?
63-
pom {
64-
name = 'GraalPy Plugin'
65-
description = 'Gradle plugin for GraalPy, a high-performance embeddable Python 3 runtime for Java. The plugin provides support for installing and managing Python packages.'
66-
url = 'https://graalvm.org'
67-
68-
licenses {
69-
license {
70-
name = 'Universal Permissive License, Version 1.0'
71-
url = 'http://opensource.org/licenses/UPL'
72-
}
57+
publications.withType(MavenPublication).configureEach {
58+
pom {
59+
name.set('GraalPy Plugin')
60+
description.set('Gradle plugin for GraalPy, a high-performance embeddable Python 3 runtime for Java. The plugin provides support for installing and managing Python packages.')
61+
url.set('https://graalvm.org ')
62+
licenses {
63+
license {
64+
name.set('Universal Permissive License, Version 1.0')
65+
url.set('http://opensource.org/licenses/UPL ')
7366
}
74-
75-
developers {
76-
developer {
77-
name = 'GraalVM Development'
78-
email = 'graalvm-dev@oss.oracle.com'
79-
}
67+
}
68+
developers {
69+
developer {
70+
name.set('GraalVM Development')
71+
email.set('graalvm-dev@oss.oracle.com ')
8072
}
8173
}
8274
}

0 commit comments

Comments
 (0)