11plugins {
2- id ' fabric-loom' version ' 0.9 -SNAPSHOT'
2+ id ' fabric-loom' version ' 0.10 -SNAPSHOT'
33 id ' maven-publish'
4- id ' org.jetbrains.kotlin.jvm' version " 1.5.21 "
4+ id ' org.jetbrains.kotlin.jvm' version " 1.6.0 "
55}
66
7- sourceCompatibility = JavaVersion . VERSION_16
8- targetCompatibility = JavaVersion . VERSION_16
7+ sourceCompatibility = JavaVersion . VERSION_17
8+ targetCompatibility = JavaVersion . VERSION_17
99
1010archivesBaseName = project. archives_base_name
1111version = project. mod_version
@@ -19,6 +19,9 @@ repositories {
1919 maven {
2020 url = " https://oss.sonatype.org/content/repositories/snapshots"
2121 }
22+ maven {
23+ url = " https://maven.bymartrixx.me/"
24+ }
2225}
2326
2427dependencies {
@@ -31,9 +34,9 @@ dependencies {
3134 modImplementation " net.fabricmc.fabric-api:fabric-api:${ project.fabric_version} "
3235
3336 // Yes this has to be capitalised
34- modImplementation " com.github.quiltservertools:Ledger:1.0.2 "
37+ modImplementation " com.github.quiltservertools:Ledger:1.2.0 "
3538
36- modImplementation " net.fabricmc:fabric-language-kotlin:1.6.3 +kotlin.1.5.21 "
39+ modImplementation " net.fabricmc:fabric-language-kotlin:1.7.0 +kotlin.1.6.0 "
3740
3841 // H2
3942 implementation(include(" com.h2database:h2:1.4.200" ))
@@ -54,14 +57,9 @@ processResources {
5457}
5558
5659tasks. withType(JavaCompile ). configureEach {
57- // ensure that the encoding is set to UTF-8, no matter what the system default is
58- // this fixes some edge cases with special characters not displaying correctly
59- // see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
60- // If Javadoc is generated, this must be specified in that task too.
6160 it. options. encoding = " UTF-8"
6261
63- // Minecraft 1.17 (21w19a) upwards uses Java 16.
64- it. options. release = 16
62+ it. options. release = 17
6563}
6664
6765java {
@@ -91,11 +89,6 @@ publishing {
9189 }
9290 }
9391
94- // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
9592 repositories {
96- // Add repositories to publish to here.
97- // Notice: This block does NOT have the same function as the block in the top level.
98- // The repositories here will be used for publishing your artifact, not for
99- // retrieving dependencies.
10093 }
10194}
0 commit comments