@@ -18,9 +18,17 @@ plugins {
18
18
id(" io.github.opencubicchunks.gradle.mcGitVersion" )
19
19
id(" io.github.opencubicchunks.gradle.mixingen" )
20
20
id(" io.github.opencubicchunks.gradle.dasm" )
21
- id(" io.github.opencubicchunks.stirrin" ).version(" 1.3.1 " )
21
+ id(" io.github.opencubicchunks.stirrin" ).version(" 1.3.2 " )
22
22
}
23
23
24
+ val minecraftVersion: String by project
25
+ val loaderVersion: String by project
26
+ val fabricVersion: String by project
27
+ val lwjglVersion: String by project
28
+ val lwjglNatives: String by project
29
+ val modId: String by project
30
+ val debugArtifactTransforms: String by project
31
+
24
32
stirrin {
25
33
setAcceptedJars(" .*minecraft.*" )
26
34
setConfigs(setOf (
@@ -32,16 +40,9 @@ stirrin {
32
40
" cubicchunks.mixins.levelgen.json" ,
33
41
" cubicchunks.mixins.optifine.json"
34
42
))
43
+ setDebug(debugArtifactTransforms.toBoolean())
35
44
}
36
45
37
- val minecraftVersion: String by project
38
- val loaderVersion: String by project
39
- val fabricVersion: String by project
40
- val lwjglVersion: String by project
41
- val lwjglNatives: String by project
42
- val modId: String by project
43
- val debugArtifactTransforms: String by project
44
-
45
46
javaHeaders {
46
47
setAcceptedJars(" .*CubicChunksCore.*" )
47
48
setConfig(file(" javaHeaders.json" ))
@@ -271,9 +272,8 @@ dependencies {
271
272
// exclude module: "fabric-loader"
272
273
// }
273
274
274
- stirrin.addDependency(project(" :CubicChunksCore" ))
275
275
// we shade the core classes directly into CC, so it gets remapped
276
- shade(implementation(project(" :CubicChunksCore" )) {
276
+ shade(implementation(stirrin.addDependency( project(" :CubicChunksCore" ) )) {
277
277
attributes {
278
278
attribute(LibraryElements .LIBRARY_ELEMENTS_ATTRIBUTE , objects.named(LibraryElements ::class , LibraryElements .JAR ))
279
279
}
0 commit comments