File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
22
33plugins {
4- id ' fabric-loom' version ' 1.7 -SNAPSHOT'
4+ id ' fabric-loom' version ' 1.10 -SNAPSHOT'
55 id ' maven-publish'
66 id " org.jetbrains.kotlin.jvm" version " 2.0.0"
77 id(" io.github.p03w.machete" ) version " 2.0.1"
@@ -47,12 +47,12 @@ processResources {
4747}
4848
4949tasks. withType(JavaCompile ). configureEach {
50- it. options. release = 17
50+ it. options. release = 21
5151}
5252
5353tasks. withType(KotlinCompile ). configureEach {
5454 kotlinOptions {
55- jvmTarget = 17
55+ jvmTarget = 21
5656 }
5757}
5858
6262 // If you remove this line, sources will not be generated.
6363 withSourcesJar()
6464
65- sourceCompatibility = JavaVersion . VERSION_17
66- targetCompatibility = JavaVersion . VERSION_17
65+ sourceCompatibility = JavaVersion . VERSION_21
66+ targetCompatibility = JavaVersion . VERSION_21
6767}
6868
6969jar {
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ org.gradle.parallel=true
44
55# Fabric Properties
66# check these on https://fabricmc.net/develop
7- minecraft_version =1.20 .1
8- yarn_mappings =1.20 .1+build.10
9- loader_version =0.15.11
10- fabric_kotlin_version =1.11.0 +kotlin.2.0.0
7+ minecraft_version =1.21 .1
8+ yarn_mappings =1.21 .1+build.3
9+ loader_version =0.16.14
10+ fabric_kotlin_version =1.13.3 +kotlin.2.1.21
1111
1212# Mod Properties
1313mod_version =1.0.3
1414maven_group =team.hpk.yjas
1515archives_base_name =YetJustAnotherSilver
1616
1717# Dependencies
18- fabric_version =0.92.2 +1.20 .1
18+ fabric_version =0.116.3 +1.21 .1
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.8 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.14.2 -bin.zip
44networkTimeout =10000
55validateDistributionUrl =true
66zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 2929 ]
3030 },
3131 "depends" : {
32- "fabricloader" : " >=0.15.11 " ,
33- "minecraft" : " >=1.20 <1.20 .2" ,
34- "java" : " >=17 " ,
32+ "fabricloader" : " >=0.16.14 " ,
33+ "minecraft" : " >=1.21 <1.21 .2" ,
34+ "java" : " >=21 " ,
3535 "fabric-api" : " *" ,
3636 "fabric-language-kotlin" : " *"
3737 }
You can’t perform that action at this time.
0 commit comments