bump minecraft version to 26.2
This commit is contained in:
31 files changed
+119
-198
No files matched your search
+11
-20
@@ -2,7 +2,7 @@ plugins {
|
||||
id 'maven-publish'
|
||||
id("io.freefair.lombok") version "9.5.0"
|
||||
id("com.gradleup.shadow") version "9.3.1"
|
||||
id 'fabric-loom' version '1.17-SNAPSHOT'
|
||||
id 'net.fabricmc.fabric-loom' version '1.17-SNAPSHOT'
|
||||
}
|
||||
|
||||
version = project.mod_version
|
||||
@@ -13,23 +13,23 @@ base {
|
||||
}
|
||||
|
||||
repositories {
|
||||
// Add repositories to retrieve artifacts from in here.
|
||||
// You should only use this when depending on other mods because
|
||||
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
|
||||
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
|
||||
// for more information about repositories.
|
||||
mavenCentral()
|
||||
maven {
|
||||
name "kalculosSnapshots"
|
||||
url "https://repo.sfclub.cc/snapshots"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// To change the versions see the gradle.properties file1
|
||||
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
||||
mappings loom.officialMojangMappings()
|
||||
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
|
||||
modImplementation 'me.lucko:fabric-permissions-api:0.3.1'
|
||||
implementation "net.fabricmc:fabric-loader:${project.loader_version}"
|
||||
implementation 'me.lucko:fabric-permissions-api:0.7.0'
|
||||
// Fabric API. This is technically optional, but you probably want it anyway.
|
||||
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
|
||||
implementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
|
||||
shadow('com.maxmind.geoip2:geoip2:4.2.0')
|
||||
shadow("io.javalin:javalin:6.4.0")
|
||||
include(implementation "io.ib67.kiwi:lang:1.2.3-SNAPSHOT")
|
||||
shadow('com.github.houbb:pinyin:0.4.0')
|
||||
shadow('com.google.inject:guice:7.0.0') {
|
||||
exclude group: 'com.google.guava', module: 'guava'
|
||||
@@ -42,15 +42,6 @@ configurations.implementation.extendsFrom(configurations.shadow)
|
||||
shadowJar {
|
||||
configurations = [project.configurations.shadow]
|
||||
exclude("META-INF")
|
||||
//relocate 'com.google', 'sfcraft.relocation.google'
|
||||
}
|
||||
|
||||
remapJar {
|
||||
// wait until the shadowJar is done
|
||||
dependsOn(shadowJar)
|
||||
mustRunAfter(shadowJar)
|
||||
// Set the input jar for the task. Here use the shadow Jar that include the .class of the transitive dependency
|
||||
inputFile = shadowJar.archiveFile
|
||||
}
|
||||
|
||||
processResources {
|
||||
@@ -66,7 +57,7 @@ processResources {
|
||||
}
|
||||
}
|
||||
|
||||
def targetJavaVersion = 21
|
||||
def targetJavaVersion = 25
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
// ensure that the encoding is set to UTF-8, no matter what the system default is
|
||||
// this fixes some edge cases with special characters not displaying correctly
|
||||
|
||||
Reference in new issue
Block a user