Skip to content

Commit 22129be

Browse files
committed
build: update dependencies
1 parent 812366f commit 22129be

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

build.gradle.kts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,13 @@ dependencies {
2626
}
2727

2828
tasks {
29-
val javaVersion = JavaVersion.VERSION_16
29+
val javaVersion = JavaVersion.VERSION_17
3030

3131
withType<JavaCompile> {
3232
options.encoding = "UTF-8"
3333
sourceCompatibility = javaVersion.toString()
3434
targetCompatibility = javaVersion.toString()
35-
if (JavaVersion.current().isJava9Compatible) {
36-
options.release.set(javaVersion.toString().toInt())
37-
}
35+
options.release.set(javaVersion.toString().toInt())
3836
}
3937

4038
withType<KotlinCompile> {
@@ -58,7 +56,7 @@ tasks {
5856

5957
java {
6058
toolchain {
61-
languageVersion.set(JavaLanguageVersion.of(8))
59+
languageVersion.set(JavaLanguageVersion.of(javaVersion.toString()))
6260
}
6361
sourceCompatibility = javaVersion
6462
targetCompatibility = javaVersion

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ minecraftVersion=1.18.2
66
yarnMappings=1.18.2+build.2
77
loaderVersion=0.13.3
88
# Fabric API
9-
fabricVersion=0.48.0+1.18.2
9+
fabricVersion=0.50.0+1.18.2
1010
loomVersion=0.11-SNAPSHOT
1111
# Mod Properties
1212
prevVersion=1.18.2-1.4.0
1313
modVersion=1.18.2-1.4.1
1414
mavenGroup=io.github.samarium150
1515
archivesBaseName=structures_compass-fabric
1616
# Kotlin
17-
systemProp.kotlinVersion=1.6.10
18-
fabricKotlinVersion=1.7.1+kotlin.1.6.10
17+
systemProp.kotlinVersion=1.6.20
18+
fabricKotlinVersion=1.7.2+kotlin.1.6.20

0 commit comments

Comments
 (0)