@@ -2,8 +2,8 @@ plugins {
22 id ' java'
33 id ' java-library'
44 id ' maven-publish'
5- id ' com.gradleup.shadow' version ' 9.0 .2'
6- id ' xyz.wagyourtail.unimined' version ' 1.4.1 '
5+ id ' com.gradleup.shadow' version ' 9.2 .2'
6+ id ' xyz.wagyourtail.unimined' version ' 1.4.9-kappa '
77 id ' net.kyori.blossom' version ' 2.1.0'
88}
99
@@ -28,7 +28,7 @@ version = propertyString('mod_version')
2828group = propertyString(' root_package' )
2929
3030base {
31- archivesName. set(" +" + propertyString(' mod_id' ))
31+ archivesName. set(" +" + propertyString(' mod_id' ))
3232}
3333
3434
@@ -64,15 +64,14 @@ unimined.minecraft {
6464
6565 cleanroom {
6666 if (propertyBool(' use_access_transformer' )) {
67- accessTransformer " ${ rootProject.projectDir} /src/main/resources/" + propertyString(' access_transformer_locations' )
67+ accessTransformer " ${ rootProject.projectDir} /src/main/resources/${ propertyString('access_transformer_locations')} "
6868 }
69- loader " 0.3.27 -alpha"
69+ loader " 0.4.2 -alpha"
7070 runs. auth. username = minecraft_username
7171 runs. all {
72- systemProperty(" cleanroom.dev.mixin" , " ${ mod_id} .default.mixin.json,${ mod_id} .mod.mixin.json" )
7372 def extraArgs = propertyString(' extra_jvm_args' )
7473 if (extraArgs != null && ! extraArgs. trim(). isEmpty()) {
75- jvmArgs + = extraArgs. split( " \\ s+" ) . toList()
74+ jvmArgs + = extraArgs. split { " \\ s+" } . toList()
7675 }
7776 if (propertyBool(' enable_foundation_debug' )) {
7877 systemProperty(" foundation.dump" , " true" )
@@ -107,6 +106,7 @@ unimined.minecraft {
107106
108107 mods {
109108 remap(configurations. modCompileOnly)
109+ remap(configurations. modRuntimeOnly)
110110 }
111111}
112112
@@ -181,7 +181,6 @@ jar {
181181 manifest {
182182 def attribute_map = [:]
183183 attribute_map[' ModType' ] = " CRL"
184- attribute_map[' MixinConfigs' ] = " ${ mod_id} .default.mixin.json,${ mod_id} .mod.mixin.json"
185184 if (configurations. contain. size() > 0 ) {
186185 attribute_map[' ContainedDeps' ] = configurations. contain. collect { it. name }. join(' ' )
187186 attribute_map[' NonModDeps' ] = true
0 commit comments