@@ -3,14 +3,14 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
33import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
44
55plugins {
6- id ' fabric-loom' version ' 1.12.7 '
6+ id ' net.fabricmc. fabric-loom' version ' 1.15-SNAPSHOT '
77 id ' maven-publish'
8- id ' org.jetbrains.kotlin.jvm' version " 2.2.21 "
8+ id ' org.jetbrains.kotlin.jvm' version " 2.3.10 "
99}
1010
1111java {
12- sourceCompatibility = JavaVersion . VERSION_17
13- targetCompatibility = JavaVersion . VERSION_17
12+ sourceCompatibility = JavaVersion . VERSION_25
13+ targetCompatibility = JavaVersion . VERSION_25
1414}
1515
1616base {
@@ -28,34 +28,40 @@ repositories {
2828 maven {
2929 url = " https://oss.sonatype.org/content/repositories/snapshots"
3030 }
31+ maven {
32+ url = " https://maven.potato.garden/releases"
33+ }
3134}
3235
3336dependencies {
3437 // To change the versions see the gradle.properties file
3538 minecraft " com.mojang:minecraft:${ project.minecraft_version} "
36- mappings " net.fabricmc:yarn:${ project.yarn_mappings} :v2"
37- modImplementation " net.fabricmc:fabric-loader:${ project.loader_version} "
39+ implementation " net.fabricmc:fabric-loader:${ project.loader_version} "
3840
3941 // Yes this has to be capitalised
40- modImplementation " com.github.quiltservertools:Ledger:1.3.0+local "
42+ implementation " com.github.quiltservertools:Ledger:1.3.20 "
4143
42- modImplementation " net.fabricmc:fabric-language-kotlin:1.9.4 +kotlin.1.8.21 "
44+ implementation " net.fabricmc:fabric-language-kotlin:1.13.9 +kotlin.2.3.10 "
4345
44- implementation(include(" com.zaxxer:HikariCP:5.0.1" ))
46+ implementation(" com.uchuhimo:konf-core:1.1.2" )
47+ implementation(include(" com.zaxxer:HikariCP:7.0.2" ))
4548
4649 // H2
47- implementation(include(" com.h2database:h2:2.2.224 " ))
50+ implementation(include(" com.h2database:h2:2.4.240 " ))
4851
4952 // MySQL
50- implementation(include(' com.mysql:mysql-connector-j:8.3 .0' ))
53+ implementation(include(' com.mysql:mysql-connector-j:9.6 .0' ))
5154
5255 // MariaDB
53- implementation(include(' org.mariadb.jdbc:mariadb-java-client:3.3.3 ' ))
56+ implementation(include(' org.mariadb.jdbc:mariadb-java-client:3.5.7 ' ))
5457
5558 // PostgreSQL
56- implementation(include(" org.postgresql:postgresql:42.7.3" ))
59+ implementation(include(" org.postgresql:postgresql:42.7.9" ))
60+
61+ // SQLite
62+ implementation(' org.xerial:sqlite-jdbc:3.50.3.0' )
5763
58- modImplementation (" me.lucko:fabric-permissions-api:0.3 " )
64+ implementation (" me.lucko:fabric-permissions-api:0.7.0 " )
5965}
6066
6167processResources {
@@ -69,13 +75,11 @@ processResources {
6975tasks. withType(JavaCompile ). configureEach {
7076 it. options. encoding = " UTF-8"
7177
72- it. options. release = 17
78+ it. options. release = 25
7379}
7480
7581tasks. withType(KotlinCompile ). configureEach {
76- it. compilerOptions. languageVersion = KotlinVersion . KOTLIN_1_8
77- it. compilerOptions. apiVersion = KotlinVersion . KOTLIN_1_8
78- it. compilerOptions. jvmTarget = JvmTarget . JVM_17
82+ it. compilerOptions. jvmTarget = JvmTarget . JVM_25
7983}
8084
8185java {
9094 rename { " ${ it} _${ project.archives_base_name} " }
9195 }
9296}
93-
94- // configure the maven publication
95- publishing {
96- publications {
97- mavenJava(MavenPublication ) {
98- // add all the jars that should be included when publishing to maven
99- artifact(remapJar) {
100- builtBy remapJar
101- }
102- artifact(sourcesJar) {
103- builtBy remapSourcesJar
104- }
105- }
106- }
107-
108- repositories {
109- }
110- }
0 commit comments