|
1 | 1 | plugins { |
2 | | - id 'net.neoforged.moddev' version '2.0.137' |
| 2 | + id 'net.neoforged.moddev' version '2.0.141' |
3 | 3 | id 'net.darkhax.curseforgegradle' version '1.1.28' |
4 | 4 | id 'com.github.kt3k.coveralls' version '2.12.0' |
5 | 5 | id 'com.diffplug.spotless' version '6.25.0' |
@@ -132,20 +132,20 @@ dependencies { |
132 | 132 |
|
133 | 133 | // Add something like 'cyclopscore_version_local=0.1.0-DEV' to your secrets.properties if you want to use a custom local CyclopsCore version. |
134 | 134 | if(secrets.cyclopscore_version_local) { |
135 | | - implementation "org.cyclops.cyclopscore:cyclopscore-${project.minecraft_version}-neoforge:${secrets.cyclopscore_version_local}:deobf" |
| 135 | + implementation "org.cyclops.cyclopscore:cyclopscore-${project.minecraft_version}-neoforge:${secrets.cyclopscore_version_local}" |
136 | 136 | } else { |
137 | | - implementation "org.cyclops.cyclopscore:cyclopscore-${project.minecraft_version}-neoforge:${project.cyclopscore_version}:deobf" |
| 137 | + implementation "org.cyclops.cyclopscore:cyclopscore-${project.minecraft_version}-neoforge:${project.cyclopscore_version}" |
138 | 138 | } |
139 | 139 |
|
140 | 140 | // Add something like 'integrateddynamics_version_local=0.1.0-DEV' to your secrets.properties if you want to use a custom local Integrated Tunnels Compat version. |
141 | 141 | if(secrets.integrateddynamics_version_local) { |
142 | | - implementation "org.cyclops.integrateddynamics:integrateddynamics-${project.minecraft_version}-neoforge:${secrets.integrateddynamics_version_local}:deobf" |
| 142 | + implementation "org.cyclops.integrateddynamics:integrateddynamics-${project.minecraft_version}-neoforge:${secrets.integrateddynamics_version_local}" |
143 | 143 | } else { |
144 | | - implementation "org.cyclops.integrateddynamics:integrateddynamics-${project.minecraft_version}-neoforge:${project.integrateddynamics_version}:deobf" |
| 144 | + implementation "org.cyclops.integrateddynamics:integrateddynamics-${project.minecraft_version}-neoforge:${project.integrateddynamics_version}" |
145 | 145 | } |
146 | 146 |
|
147 | 147 | if(secrets.commoncapabilities_version_local) { |
148 | | - implementation "org.cyclops.commoncapabilities:commoncapabilities-${project.minecraft_version}-neoforge:${secrets.commoncapabilities_version_local}:deobf" |
| 148 | + implementation "org.cyclops.commoncapabilities:commoncapabilities-${project.minecraft_version}-neoforge:${secrets.commoncapabilities_version_local}" |
149 | 149 | } else { |
150 | 150 | implementation("org.cyclops.commoncapabilities:commoncapabilities-${project.minecraft_version}-neoforge:${project.commoncapabilities_version}") { // https://dl.bintray.com/cyclopsmc/dev/org/cyclops/commoncapabilities/CommonCapabilities/ |
151 | 151 | transitive = false |
@@ -174,11 +174,6 @@ test { |
174 | 174 | neoForge { |
175 | 175 | version = "${neoforge_version}" |
176 | 176 |
|
177 | | - parchment { |
178 | | - mappingsVersion = "${parchment_version}" |
179 | | - minecraftVersion = "${parchment_minecraft_version}" |
180 | | - } |
181 | | - |
182 | 177 | // Automatically enable neoforge AccessTransformers if the file exists |
183 | 178 | def at = file('src/main/resources/META-INF/accesstransformer.cfg') |
184 | 179 | if (at.exists()) { |
@@ -233,23 +228,6 @@ jar { |
233 | 228 | } |
234 | 229 | } |
235 | 230 |
|
236 | | -task deobfJar(type: Jar) { |
237 | | - from sourceSets.main.output |
238 | | - archiveClassifier.set('deobf') |
239 | | - manifest { |
240 | | - attributes([ |
241 | | - "Specification-Title": "${project.name}", |
242 | | - "Specification-Vendor": "rubensworks", |
243 | | - "Specification-Version": "${project.mod_version}", |
244 | | - "Implementation-Title": "${project.name}", |
245 | | - "Implementation-Version": "${project.mod_version}", |
246 | | - "Implementation-Vendor" :"rubensworks", |
247 | | - "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"), |
248 | | - "Multi-Release": "true", // Required for shadowing GraalVM: https://www.graalvm.org/latest/reference-manual/embed-languages/#uber-jar-file-creation |
249 | | - ]) |
250 | | - } |
251 | | -} |
252 | | - |
253 | 231 | task sourcesJar(type: Jar) { |
254 | 232 | duplicatesStrategy(DuplicatesStrategy.FAIL) |
255 | 233 | archiveClassifier.set('sources') |
@@ -290,7 +268,6 @@ jar { |
290 | 268 |
|
291 | 269 | artifacts { |
292 | 270 | archives shadowJar |
293 | | - archives deobfJar |
294 | 271 | archives sourcesJar |
295 | 272 | archives javadocJar |
296 | 273 | } |
@@ -384,8 +361,8 @@ publishing { |
384 | 361 |
|
385 | 362 | publications { PublicationContainer publicationContainer -> |
386 | 363 | publicationContainer.register("maven", MavenPublication) { MavenPublication publication -> |
387 | | - publication.artifacts = [shadowJar, javadocJar, deobfJar, sourcesJar] |
388 | | - publication.artifactId = project.archivesBaseName.toLowerCase() // GH can't handle uppercase... |
| 364 | + publication.artifacts = [shadowJar, javadocJar, sourcesJar] |
| 365 | + publication.artifactId = project.base.archivesName.get().toLowerCase() // GH can't handle uppercase... |
389 | 366 | } |
390 | 367 | } |
391 | 368 | } |
@@ -413,7 +390,7 @@ jacocoTestReport { |
413 | 390 | // Also measure coverage for game tests |
414 | 391 | jacocoTestReport.dependsOn test, runGameTestServer |
415 | 392 | jacoco { |
416 | | - toolVersion = "0.8.12" |
| 393 | + toolVersion = "0.8.14" |
417 | 394 | applyTo runGameTestServer |
418 | 395 | } |
419 | 396 |
|
|
0 commit comments