Skip to content

Commit f6b119a

Browse files
committed
updated libraries
1 parent f3c583b commit f6b119a

File tree

8 files changed

+43
-26
lines changed

8 files changed

+43
-26
lines changed

build.gradle.kts

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
* Copyright 2024 Lambda
3+
*
4+
* This program is free software: you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License as published by
6+
* the Free Software Foundation, either version 3 of the License, or
7+
* (at your option) any later version.
8+
*
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
118
import org.gradle.internal.jvm.*
219
import net.fabricmc.loom.api.LoomGradleExtensionAPI
320
import org.apache.tools.ant.taskdefs.condition.Os
@@ -120,14 +137,14 @@ allprojects {
120137
java {
121138
withSourcesJar()
122139

123-
sourceCompatibility = JavaVersion.VERSION_17
124-
targetCompatibility = JavaVersion.VERSION_17
140+
sourceCompatibility = JavaVersion.VERSION_21
141+
targetCompatibility = JavaVersion.VERSION_21
125142
}
126143

127144
tasks {
128145
compileKotlin {
129146
compilerOptions {
130-
jvmTarget.set(JvmTarget.JVM_17)
147+
jvmTarget.set(JvmTarget.JVM_21)
131148
}
132149
}
133150
}

common/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ val modId: String by project
2121
val fabricLoaderVersion: String by project
2222
val kotlinxCoroutinesVersion: String by project
2323
val discordIPCVersion: String by project
24+
val baritoneVersion: String by project
2425

2526
base.archivesName = "${base.archivesName.get()}-api"
2627

@@ -49,7 +50,7 @@ dependencies {
4950
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinxCoroutinesVersion")
5051

5152
// Baritone
52-
modImplementation("baritone-api:baritone-unoptimized-fabric:1.10.2") { isTransitive = false }
53+
modImplementation("baritone-api:baritone-api:$baritoneVersion") { isTransitive = false }
5354
}
5455

5556
tasks {

fabric/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ val fabricApiVersion: String by project
2222
val kotlinFabricVersion: String by project
2323
val discordIPCVersion: String by project
2424
val kotlinVersion: String by project
25+
val baritoneVersion: String by project
2526

2627
base.archivesName = "${base.archivesName.get()}-fabric"
2728

@@ -91,7 +92,7 @@ dependencies {
9192
// Add mods to the mod jar
9293
includeMod("net.fabricmc.fabric-api:fabric-api:$fabricApiVersion+$minecraftVersion")
9394
includeMod("net.fabricmc:fabric-language-kotlin:$kotlinFabricVersion.$kotlinVersion")
94-
includeMod("baritone-api:baritone-unoptimized-fabric:1.10.2")
95+
includeMod("baritone-api:baritone-api-fabric:$baritoneVersion")
9596

9697
// Common (Do not touch)
9798
common(project(":common", configuration = "namedElements")) { isTransitive = false }

forge/build.gradle.kts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ val forgeVersion: String by project
2121
val mixinExtrasVersion: String by project
2222
val kotlinForgeVersion: String by project
2323
val discordIPCVersion: String by project
24+
val baritoneVersion: String by project
2425

2526
base.archivesName = "${base.archivesName.get()}-forge"
2627

@@ -101,10 +102,7 @@ dependencies {
101102

102103
// Add mods to the mod jar
103104
includeMod("thedarkcolour:kotlinforforge:$kotlinForgeVersion")
104-
includeMod("baritone-api:baritone-unoptimized-forge:1.10.2")
105-
106-
// Fix KFF
107-
compileOnly(kotlin("stdlib"))
105+
includeMod("baritone-api:baritone-api-forge:$baritoneVersion")
108106

109107
// MixinExtras
110108
implementation("io.github.llamalad7:mixinextras-forge:$mixinExtrasVersion")

gradle.properties

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,29 @@ mavenGroup=com.lambda
66
modAuthors=Constructor, Blade, Edouard127
77

88
# General
9-
minecraftVersion=1.20.4
10-
minecraftVersionMin=1.20.3
11-
minecraftVersionMax=1.20.4
9+
minecraftVersion=1.21.3
10+
minecraftVersionMin=1.21.3
11+
minecraftVersionMax=1.21.4
1212
mixinExtrasVersion=0.4.1
13-
kotlinVersion=2.0.20
14-
kotlinxCoroutinesVersion=1.9.0-RC
15-
javaVersion=17
16-
baritoneVersion=1.10.2
13+
kotlinVersion=2.0.21
14+
kotlinxCoroutinesVersion=1.9.0
15+
javaVersion=21
16+
baritoneVersion=1.11.1
1717
discordIPCVersion=7ab2e77312
1818

1919
# Fabric https://fabricmc.net/develop/
20-
fabricLoaderVersion=0.15.9
21-
yarnMappings=build.3
22-
fabricApiVersion=0.96.4
23-
kotlinFabricVersion=1.12.1+kotlin
20+
fabricLoaderVersion=0.16.9
21+
yarnMappings=build.2
22+
fabricApiVersion=0.109.0
23+
kotlinFabricVersion=1.12.3+kotlin
2424

2525
# Forge https://files.minecraftforge.net/
26-
forgeVersion=49.1.4
27-
forgeVersionMin=44
28-
forgeVersionMax=49.999.0
29-
kotlinForgeVersion=4.11.0
30-
kotlinForgeVersionMin=4.0.0
31-
kotlinForgeVersionMax=4.11.0
26+
forgeVersion=53.0.25
27+
forgeVersionMin=53
28+
forgeVersionMax=54
29+
kotlinForgeVersion=5.6.0
30+
kotlinForgeVersionMin=5.6.0
31+
kotlinForgeVersionMax=6
3232

3333
# Kotlin https://kotlinlang.org/
3434
kotlin.code.style=official

libs/baritone-api-1.11.1.jar

566 KB
Binary file not shown.
1.7 MB
Binary file not shown.
1.72 MB
Binary file not shown.

0 commit comments

Comments
 (0)