11plugins {
2- id ' net.neoforged.moddev' version ' 2.0.137 '
2+ id ' net.neoforged.moddev' version ' 2.0.141 '
33 id ' net.darkhax.curseforgegradle' version ' 1.1.28'
44 id ' com.github.kt3k.coveralls' version ' 2.12.0'
55 id ' com.diffplug.spotless' version ' 6.25.0'
@@ -138,31 +138,31 @@ dependencies {
138138
139139 // Add something like 'cyclopscore_version_local=0.1.0-DEV' to your gradle.properties if you want to use a custom local CyclopsCore version.
140140 if (secrets. cyclopscore_version_local) {
141- implementation " org.cyclops.cyclopscore:cyclopscore-${ project.minecraft_version} -neoforge:${ secrets.cyclopscore_version_local} :deobf "
141+ implementation " org.cyclops.cyclopscore:cyclopscore-${ project.minecraft_version} -neoforge:${ secrets.cyclopscore_version_local} "
142142 } else {
143- implementation " org.cyclops.cyclopscore:cyclopscore-${ project.minecraft_version} -neoforge:${ project.cyclopscore_version} :deobf "
143+ implementation " org.cyclops.cyclopscore:cyclopscore-${ project.minecraft_version} -neoforge:${ project.cyclopscore_version} "
144144 }
145145
146146 // Add something like 'integrateddynamics_version_local=0.1.0-DEV' to your gradle.properties if you want to use a custom local Integrated Tunnels Compat version.
147147 if (secrets. integrateddynamics_version_local) {
148- implementation " org.cyclops.integrateddynamics:integrateddynamics-${ project.minecraft_version} -neoforge:${ secrets.integrateddynamics_version_local} :deobf "
148+ implementation " org.cyclops.integrateddynamics:integrateddynamics-${ project.minecraft_version} -neoforge:${ secrets.integrateddynamics_version_local} "
149149 } else {
150- implementation " org.cyclops.integrateddynamics:integrateddynamics-${ project.minecraft_version} -neoforge:${ project.integrateddynamics_version} :deobf "
150+ implementation " org.cyclops.integrateddynamics:integrateddynamics-${ project.minecraft_version} -neoforge:${ project.integrateddynamics_version} "
151151 }
152152
153153 if (secrets. commoncapabilities_version_local) {
154- implementation " org.cyclops.commoncapabilities:commoncapabilities-${ project.minecraft_version} -neoforge:${ secrets.commoncapabilities_version_local} :deobf "
154+ implementation " org.cyclops.commoncapabilities:commoncapabilities-${ project.minecraft_version} -neoforge:${ secrets.commoncapabilities_version_local} "
155155 } else {
156- implementation(" org.cyclops.commoncapabilities:commoncapabilities-${ project.minecraft_version} -neoforge:${ project.commoncapabilities_version} :deobf " ) { // https://dl.bintray.com/cyclopsmc/dev/org/cyclops/commoncapabilities/CommonCapabilities/
156+ implementation(" org.cyclops.commoncapabilities:commoncapabilities-${ project.minecraft_version} -neoforge:${ project.commoncapabilities_version} " ) { // https://dl.bintray.com/cyclopsmc/dev/org/cyclops/commoncapabilities/CommonCapabilities/
157157 transitive = false
158158 }
159159 }
160160/**/
161161 // Add something like 'integrateddynamics_version_local=0.1.0-DEV' to your gradle.properties if you want to use a custom local Integrated Tunnels Compat version.
162162 if (secrets. integratedtunnels_version_local) {
163- implementation " org.cyclops.integratedtunnels:integratedtunnels-${ project.minecraft_version} -neoforge:${ secrets.integratedtunnels_version_local} :deobf "
163+ implementation " org.cyclops.integratedtunnels:integratedtunnels-${ project.minecraft_version} -neoforge:${ secrets.integratedtunnels_version_local} "
164164 } else {
165- implementation " org.cyclops.integratedtunnels:integratedtunnels-${ project.minecraft_version} -neoforge:${ project.integratedtunnels_version} :deobf "
165+ implementation " org.cyclops.integratedtunnels:integratedtunnels-${ project.minecraft_version} -neoforge:${ project.integratedtunnels_version} "
166166 }
167167
168168 modLib " com.google.re2j:re2j:1.1"
@@ -178,11 +178,6 @@ test {
178178neoForge {
179179 version = " ${ neoforge_version} "
180180
181- parchment {
182- mappingsVersion = " ${ parchment_version} "
183- minecraftVersion = " ${ parchment_minecraft_version} "
184- }
185-
186181 // Automatically enable neoforge AccessTransformers if the file exists
187182 def at = file(' src/main/resources/META-INF/accesstransformer.cfg' )
188183 if (at. exists()) {
@@ -243,23 +238,6 @@ javadoc {
243238 options. addStringOption(' Xdoclint:accessibility,html,reference,syntax' , ' -quiet' )
244239}
245240
246- task deobfJar (type : Jar ) {
247- from sourceSets. main. output
248- archiveClassifier. set(' deobf' )
249- manifest {
250- attributes([
251- " FMLAT" : " accesstransformer.cfg" ,
252- " Specification-Title" : " ${ project.name} " ,
253- " Specification-Vendor" : " rubensworks" ,
254- " Specification-Version" : " ${ project.mod_version} " ,
255- " Implementation-Title" : " ${ project.name} " ,
256- " Implementation-Version" : " ${ project.mod_version} " ,
257- " Implementation-Vendor" :" rubensworks" ,
258- " Implementation-Timestamp" : new Date (). format(" yyyy-MM-dd'T'HH:mm:ssZ" )
259- ])
260- }
261- }
262-
263241task sourcesJar (type : Jar ) {
264242 duplicatesStrategy(DuplicatesStrategy . FAIL )
265243 archiveClassifier. set(' sources' )
@@ -273,7 +251,6 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
273251}
274252
275253artifacts {
276- archives deobfJar
277254 archives sourcesJar
278255 archives javadocJar
279256}
@@ -369,8 +346,8 @@ publishing {
369346
370347 publications { PublicationContainer publicationContainer ->
371348 publicationContainer. register(" maven" , MavenPublication ) { MavenPublication publication ->
372- publication. artifacts = [jar, javadocJar, deobfJar, sourcesJar]
373- publication. artifactId = project. archivesBaseName . toLowerCase() // GH can't handle uppercase...
349+ publication. artifacts = [jar, javadocJar, sourcesJar]
350+ publication. artifactId = project. base . archivesName . get() . toLowerCase() // GH can't handle uppercase...
374351 }
375352 }
376353}
@@ -398,7 +375,7 @@ jacocoTestReport {
398375// Also measure coverage for game tests
399376jacocoTestReport. dependsOn test, runGameTestServer
400377jacoco {
401- toolVersion = " 0.8.12 "
378+ toolVersion = " 0.8.14 "
402379 applyTo runGameTestServer
403380}
404381
0 commit comments