Skip to content

Commit 1ff7c27

Browse files
Fix pom
1 parent 68b0946 commit 1ff7c27

File tree

2 files changed

+28
-32
lines changed

2 files changed

+28
-32
lines changed

build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,7 @@ tasks.remapJar {
177177
}
178178
}
179179

180-
shadowJar {
181-
configurations = [project.configurations.shadow]
182-
archiveClassifier = "shadow"
183-
}
180+
184181

185182
compileTestJava {
186183
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_21

gradle/scripts/publishing.gradle

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -26,42 +26,41 @@ if (propertyBool('publish_to_maven')) {
2626
// Add this line (change the task name):
2727
// artifacts task_name
2828
pom {
29-
groupId = project.group
29+
groupId = "codechicken"
3030
// Force the maven upload to use the <mcversion>-<version> syntax preferred at files
31-
artifactId = project.archivesBaseName
32-
project {
33-
name project.archivesBaseName
34-
packaging 'jar'
35-
description 'CodeChickenLib'
36-
url 'https://github.com/CleanroomMC/CodeChickenLib'
31+
artifactId = propertyString('mod_name')
3732

38-
scm {
39-
url 'https://github.com/CleanroomMC/CodeChickenLib'
40-
connection 'scm:git:git://github.com/CleanroomMC/CodeChickenLib.git'
41-
developerConnection 'scm:git:git@github.com:CleanroomMC/CodeChickenLib.git'
42-
}
33+
name = propertyString('mod_name')
34+
packaging = 'jar'
35+
description = 'CodeChickenLib'
36+
url = 'https://github.com/CleanroomMC/CodeChickenLib'
4337

44-
issueManagement {
45-
system 'github'
46-
url 'https://github.com/CleanroomMC/CodeChickenLib/issues'
47-
}
38+
scm {
39+
url = 'https://github.com/CleanroomMC/CodeChickenLib'
40+
connection = 'scm:git:git://github.com/CleanroomMC/CodeChickenLib.git'
41+
developerConnection = 'scm:git:git@github.com:CleanroomMC/CodeChickenLib.git'
42+
}
4843

49-
licenses {
50-
license {
51-
name 'GNU Lesser Public License (GPL), Version 2.1'
52-
url 'https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt'
53-
distribution 'repo'
54-
}
44+
issueManagement {
45+
system = 'github'
46+
url = 'https://github.com/CleanroomMC/CodeChickenLib/issues'
47+
}
48+
49+
licenses {
50+
license {
51+
name = 'GNU Lesser Public License (GPL), Version 2.1'
52+
url = 'https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt'
53+
distribution = 'repo'
5554
}
55+
}
5656

57-
developers {
58-
developer {
59-
id 'chicken-bones'
60-
name 'chicken-bones'
61-
roles { role 'developer' }
62-
}
57+
developers {
58+
developer {
59+
id = 'chicken-bones'
60+
name = 'chicken-bones'
6361
}
6462
}
63+
6564
}
6665
}
6766
}

0 commit comments

Comments
 (0)