@@ -61,6 +61,7 @@ minecraft {
61
61
62
62
configurations {
63
63
jarLibs
64
+ onlyJarLibs
64
65
// Force choosing the correct nightly build because Mac OS chooses an invalid one
65
66
all {
66
67
resolutionStrategy {
@@ -109,10 +110,10 @@ dependencies {
109
110
compileOnly ' org.jetbrains:annotations:23.0.0'
110
111
111
112
// This Baritone will NOT be included in the jar
112
- implementation ' com.github.cabaletta :baritone:1.2.14 '
113
+ implementation " com.github.rfresh2.baritone :baritone-deobf:d0ce0d1678 "
113
114
114
115
// This Baritone WILL be included in the jar
115
- jarLibs ' cabaletta:baritone-api:1.2 '
116
+ onlyJarLibs ' com.github. cabaletta.baritone :baritone-api:v1.2.17 '
116
117
117
118
// Add everything in jarLibs to implementation (compile)
118
119
implementation configurations. jarLibs
@@ -184,7 +185,7 @@ shadowJar {
184
185
' kotlin/**/*.kotlin_metadata' ,
185
186
' kotlin/**/*.kotlin_builtins' ,
186
187
' META-INF/*.version'
187
- configurations = [project. configurations. jarLibs]
188
+ configurations = [project. configurations. jarLibs, project . configurations . onlyJarLibs ]
188
189
relocate ' kotlin' , ' com.lambda.shadow.kotlin'
189
190
relocate ' kotlinx' , ' com.lambda.shadow.kotlinx'
190
191
finalizedBy ' configureReobfTaskForReobfShadowJar' , ' reobfShadowJar'
0 commit comments