Skip to content

Commit 5d9c9e1

Browse files
committed
updated baritone proof of concept
1 parent 7b505a3 commit 5d9c9e1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build.gradle

+4-3
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ minecraft {
6161

6262
configurations {
6363
jarLibs
64+
onlyJarLibs
6465
// Force choosing the correct nightly build because Mac OS chooses an invalid one
6566
all {
6667
resolutionStrategy {
@@ -109,10 +110,10 @@ dependencies {
109110
compileOnly 'org.jetbrains:annotations:23.0.0'
110111

111112
// 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"
113114

114115
// 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'
116117

117118
// Add everything in jarLibs to implementation (compile)
118119
implementation configurations.jarLibs
@@ -184,7 +185,7 @@ shadowJar {
184185
'kotlin/**/*.kotlin_metadata',
185186
'kotlin/**/*.kotlin_builtins',
186187
'META-INF/*.version'
187-
configurations = [project.configurations.jarLibs]
188+
configurations = [project.configurations.jarLibs, project.configurations.onlyJarLibs]
188189
relocate 'kotlin', 'com.lambda.shadow.kotlin'
189190
relocate 'kotlinx', 'com.lambda.shadow.kotlinx'
190191
finalizedBy 'configureReobfTaskForReobfShadowJar', 'reobfShadowJar'

0 commit comments

Comments
 (0)