Skip to content

Commit 46fd233

Browse files
committed
build: keep project group me.lucko.luckperms, publish as net.luckperms
The fork overrode project.group to net.luckperms, which made upstream's loader shadowJars (include(dependency('me.lucko.luckperms:.*'))) drop :common, :api and :loader-utils. That broke the standalone jar-in-jar (NoClassDefFoundError: common.dependencies.DependencyManager during the preloadDependencies Docker step) and would affect every upstream platform loader. Restore project.group to me.lucko.luckperms (matching root subprojects so the shadow include filters match again) and set groupId = net.luckperms explicitly on each MavenPublication, so the published coordinates (net.luckperms:api/common/loader-utils/minestom/ minestom-app/minestom-loader) consumed by Butterfly and Titan stay unchanged. https://claude.ai/code/session_01S76fk9ma5Szkf9r1W44RVP
1 parent eaf85b7 commit 46fd233

6 files changed

Lines changed: 12 additions & 6 deletions

File tree

api/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
group = 'net.luckperms'
1+
group = 'me.lucko.luckperms'
22

33
tasks.withType(JavaCompile).configureEach {
44
options.release = 8
@@ -66,6 +66,7 @@ publishing {
6666
publications {
6767
mavenJava(MavenPublication) {
6868
artifactId = 'api'
69+
groupId = 'net.luckperms'
6970

7071
from components.java
7172

common/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
id("jacoco")
44
alias(libs.plugins.blossom)
55
}
6-
group = 'net.luckperms'
6+
group = 'me.lucko.luckperms'
77
test {
88
useJUnitPlatform {
99
if (!project.hasProperty('dockerTests')) {
@@ -168,6 +168,7 @@ publishing {
168168
publications {
169169
mavenJava(MavenPublication) {
170170
artifactId = 'common'
171+
groupId = 'net.luckperms'
171172

172173
from components.java
173174

common/loader-utils/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// nothing special to do here (yet)!
2-
group = 'net.luckperms'
2+
group = 'me.lucko.luckperms'
33
// Only used occasionally for deployment - not needed for normal builds.
44
javadoc {
55
title = 'LuckPerms Minestom Loader (v' + project.ext.apiVersion + ')'
@@ -51,6 +51,7 @@ publishing {
5151
publications {
5252
mavenJava(MavenPublication) {
5353
artifactId = 'loader-utils'
54+
groupId = 'net.luckperms'
5455

5556
from components.java
5657

minestom/app/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
alias(libs.plugins.blossom)
33
id("java-library")
44
}
5-
group = 'net.luckperms'
5+
group = 'me.lucko.luckperms'
66

77
java {
88
toolchain {
@@ -110,6 +110,7 @@ publishing {
110110
publications {
111111
mavenJava(MavenPublication) {
112112
artifactId = 'minestom-app'
113+
groupId = 'net.luckperms'
113114

114115
from components.java
115116

minestom/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
repositories {
66
mavenCentral()
77
}
8-
group = 'net.luckperms'
8+
group = 'me.lucko.luckperms'
99
dependencies {
1010
implementation project(':common')
1111
compileOnly project(':common:loader-utils')
@@ -76,6 +76,7 @@ publishing {
7676
publications {
7777
mavenJava(MavenPublication) {
7878
artifactId = 'minestom'
79+
groupId = 'net.luckperms'
7980

8081
from components.java
8182

minestom/loader/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
alias(libs.plugins.shadow)
33
}
4-
group = 'net.luckperms'
4+
group = 'me.lucko.luckperms'
55

66
repositories {
77
mavenCentral()
@@ -94,6 +94,7 @@ publishing {
9494
publications {
9595
mavenJava(MavenPublication) {
9696
artifactId = 'minestom-loader'
97+
groupId = 'net.luckperms'
9798

9899
artifact(tasks.shadowJar) {
99100
classifier = null

0 commit comments

Comments
 (0)