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" ))
@@ -51,14 +54,9 @@ processResources {
5154}
5255
5356tasks. withType(JavaCompile ). configureEach {
54- // ensure that the encoding is set to UTF-8, no matter what the system default is
55- // this fixes some edge cases with special characters not displaying correctly
56- // see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
57- // If Javadoc is generated, this must be specified in that task too.
5857 it. options. encoding = " UTF-8"
5958
60- // Minecraft 1.17 (21w19a) upwards uses Java 16.
61- it. options. release = 16
59+ it. options. release = 17
6260}
6361
6462java {
@@ -88,11 +86,6 @@ publishing {
8886 }
8987 }
9088
91- // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
9289 repositories {
93- // Add repositories to publish to here.
94- // Notice: This block does NOT have the same function as the block in the top level.
95- // The repositories here will be used for publishing your artifact, not for
96- // retrieving dependencies.
9790 }
9891}
0 commit comments