Skip to content

Commit 508613d

Browse files
committed
Fixed artifact generation
1 parent 3e796db commit 508613d

File tree

4 files changed

+57
-49
lines changed

4 files changed

+57
-49
lines changed

build-logic/src/main/kotlin/buildlogic.core-and-platform.gradle.kts

Lines changed: 51 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -22,62 +22,64 @@ configure<SigningExtension> {
2222
publishing {
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+
version = "$version"
37+
pom {
38+
name.set("${rootProject.name}-${project.description}" + " " + project.version)
39+
description.set("Blazingly fast Minecraft world manipulation for artists, builders and everyone else.")
40+
url.set("https://github.com/IntellectualSites/FastAsyncWorldEdit")
4841

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")
42+
licenses {
43+
license {
44+
name.set("GNU General Public License, Version 3.0")
45+
url.set("https://www.gnu.org/licenses/gpl-3.0.html")
46+
distribution.set("repo")
47+
}
6248
}
63-
developer {
64-
id.set("dordsor21")
65-
name.set("dordsor21")
66-
organization.set("IntellectualSites")
67-
organizationUrl.set("https://github.com/IntellectualSites")
49+
50+
developers {
51+
developer {
52+
id.set("NotMyFault")
53+
name.set("Alexander Brandes")
54+
email.set("contact(at)notmyfault.dev")
55+
organization.set("IntellectualSites")
56+
organizationUrl.set("https://github.com/IntellectualSites")
57+
}
58+
developer {
59+
id.set("SirYwell")
60+
name.set("Hannes Greule")
61+
organization.set("IntellectualSites")
62+
organizationUrl.set("https://github.com/IntellectualSites")
63+
}
64+
developer {
65+
id.set("dordsor21")
66+
name.set("dordsor21")
67+
organization.set("IntellectualSites")
68+
organizationUrl.set("https://github.com/IntellectualSites")
69+
}
6870
}
69-
}
7071

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:[email protected]:IntellectualSites/FastAsyncWorldEdit.git")
75-
tag.set("${project.version}")
76-
}
72+
scm {
73+
url.set("https://github.com/IntellectualSites/FastAsyncWorldEdit")
74+
connection.set("scm:git:https://github.com/IntellectualSites/FastAsyncWorldEdit.git")
75+
developerConnection.set("scm:git:[email protected]:IntellectualSites/FastAsyncWorldEdit.git")
76+
tag.set("${project.version}")
77+
}
7778

78-
issueManagement {
79-
system.set("GitHub")
80-
url.set("https://github.com/IntellectualSites/FastAsyncWorldEdit/issues")
79+
issueManagement {
80+
system.set("GitHub")
81+
url.set("https://github.com/IntellectualSites/FastAsyncWorldEdit/issues")
82+
}
8183
}
8284
}
8385
}

worldedit-bukkit/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ plugins {
1313
alias(libs.plugins.mod.publish.plugin)
1414
}
1515

16+
project.description = "Bukkit"
17+
1618
platform {
1719
kind = buildlogic.WorldEditKind.Plugin
1820
includeClasspath = true

worldedit-cli/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ plugins {
66
alias(libs.plugins.pluginyml)
77
}
88

9+
project.description = "CLI"
10+
911
platform {
1012
kind = buildlogic.WorldEditKind.Standalone("com.sk89q.worldedit.cli.CLIWorldEdit")
1113
extraAttributes = mapOf(

worldedit-core/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ plugins {
66
id("buildlogic.core-and-platform")
77
}
88

9+
project.description = "Core"
10+
911
dependencies {
1012
constraints {
1113
implementation(libs.snakeyaml) {

0 commit comments

Comments
 (0)