@@ -22,62 +22,65 @@ configure<SigningExtension> {
2222publishing {
2323 publications {
2424 register<MavenPublication >(" maven" ) {
25- versionMapping {
26- usage(" java-api" ) {
27- fromResolutionOf(" runtimeClasspath" )
28- }
29- usage(" java-runtime" ) {
30- fromResolutionResult()
31- }
32- }
33- group = " com.fastasyncworldedit"
34- artifactId = " ${rootProject.name} -${project.description} "
35- version = " $version "
36- pom {
37- name.set(" ${rootProject.name} -${project.description} " + " " + project.version)
38- description.set(" Blazingly fast Minecraft world manipulation for artists, builders and everyone else." )
39- url.set(" https://github.com/IntellectualSites/FastAsyncWorldEdit" )
40-
41- licenses {
42- license {
43- name.set(" GNU General Public License, Version 3.0" )
44- url.set(" https://www.gnu.org/licenses/gpl-3.0.html" )
45- distribution.set(" repo" )
25+ afterEvaluate {
26+ versionMapping {
27+ usage(" java-api" ) {
28+ fromResolutionOf(" runtimeClasspath" )
29+ }
30+ usage(" java-runtime" ) {
31+ fromResolutionResult()
4632 }
4733 }
34+ group = " com.fastasyncworldedit"
35+ artifactId = " ${rootProject.name} -${project.description} "
36+ println (" Publishing ${project.description} as $artifactId " )
37+ version = " $version "
38+ pom {
39+ name.set(" ${rootProject.name} -${project.description} " + " " + project.version)
40+ description.set(" Blazingly fast Minecraft world manipulation for artists, builders and everyone else." )
41+ url.set(" https://github.com/IntellectualSites/FastAsyncWorldEdit" )
4842
49- developers {
50- developer {
51- id.set(" NotMyFault" )
52- name.set(" Alexander Brandes" )
53- email.set(" contact(at)notmyfault.dev" )
54- organization.set(" IntellectualSites" )
55- organizationUrl.set(" https://github.com/IntellectualSites" )
56- }
57- developer {
58- id.set(" SirYwell" )
59- name.set(" Hannes Greule" )
60- organization.set(" IntellectualSites" )
61- organizationUrl.set(" https://github.com/IntellectualSites" )
43+ licenses {
44+ license {
45+ name.set(" GNU General Public License, Version 3.0" )
46+ url.set(" https://www.gnu.org/licenses/gpl-3.0.html" )
47+ distribution.set(" repo" )
48+ }
6249 }
63- developer {
64- id.set(" dordsor21" )
65- name.set(" dordsor21" )
66- organization.set(" IntellectualSites" )
67- organizationUrl.set(" https://github.com/IntellectualSites" )
50+
51+ developers {
52+ developer {
53+ id.set(" NotMyFault" )
54+ name.set(" Alexander Brandes" )
55+ email.set(" contact(at)notmyfault.dev" )
56+ organization.set(" IntellectualSites" )
57+ organizationUrl.set(" https://github.com/IntellectualSites" )
58+ }
59+ developer {
60+ id.set(" SirYwell" )
61+ name.set(" Hannes Greule" )
62+ organization.set(" IntellectualSites" )
63+ organizationUrl.set(" https://github.com/IntellectualSites" )
64+ }
65+ developer {
66+ id.set(" dordsor21" )
67+ name.set(" dordsor21" )
68+ organization.set(" IntellectualSites" )
69+ organizationUrl.set(" https://github.com/IntellectualSites" )
70+ }
6871 }
69- }
7072
71- scm {
72- url.set(" https://github.com/IntellectualSites/FastAsyncWorldEdit" )
73- connection.set(" scm:git:https://github.com/IntellectualSites/FastAsyncWorldEdit.git" )
74- developerConnection.set(" scm:git:git@github.com:IntellectualSites/FastAsyncWorldEdit.git" )
75- tag.set(" ${project.version} " )
76- }
73+ scm {
74+ url.set(" https://github.com/IntellectualSites/FastAsyncWorldEdit" )
75+ connection.set(" scm:git:https://github.com/IntellectualSites/FastAsyncWorldEdit.git" )
76+ developerConnection.set(" scm:git:git@github.com:IntellectualSites/FastAsyncWorldEdit.git" )
77+ tag.set(" ${project.version} " )
78+ }
7779
78- issueManagement {
79- system.set(" GitHub" )
80- url.set(" https://github.com/IntellectualSites/FastAsyncWorldEdit/issues" )
80+ issueManagement {
81+ system.set(" GitHub" )
82+ url.set(" https://github.com/IntellectualSites/FastAsyncWorldEdit/issues" )
83+ }
8184 }
8285 }
8386 }
0 commit comments