bump version to 26.2
This commit is contained in:
7 files changed
+32
-20
No files matched your search
+19
-9
@@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id 'fabric-loom' version "${loom_version}"
|
||||
id 'net.fabricmc.fabric-loom' version "${loom_version}"
|
||||
id 'maven-publish'
|
||||
id("io.freefair.lombok") version "9.0.0-rc2"
|
||||
id("com.gradleup.shadow") version '9.1.0'
|
||||
@@ -15,6 +15,11 @@ allprojects {
|
||||
archivesName = project.archives_base_name
|
||||
}
|
||||
|
||||
// Lombok 1.18.40+ is required for JDK 25 (class file major version 69).
|
||||
lombok {
|
||||
version = "1.18.46"
|
||||
}
|
||||
|
||||
repositories {
|
||||
// Add repositories to retrieve artifacts from in here.
|
||||
// You should only use this when depending on other mods because
|
||||
@@ -46,23 +51,23 @@ loom {
|
||||
// If you remove this line, sources will not be generated.
|
||||
withSourcesJar()
|
||||
|
||||
sourceCompatibility = JavaVersion.VERSION_21
|
||||
targetCompatibility = JavaVersion.VERSION_21
|
||||
sourceCompatibility = JavaVersion.VERSION_25
|
||||
targetCompatibility = JavaVersion.VERSION_25
|
||||
}
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
it.options.release = 21
|
||||
it.options.release = 25
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// To change the versions see the gradle.properties file
|
||||
// Minecraft 26.1+ is unobfuscated, so no mappings are required.
|
||||
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
||||
mappings loom.officialMojangMappings()
|
||||
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
|
||||
implementation "net.fabricmc:fabric-loader:${project.loader_version}"
|
||||
|
||||
// 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}"
|
||||
// https://mvnrepository.com/artifact/software.amazon.awssdk/s3
|
||||
shadow project(":bundler")
|
||||
shadow 'software.amazon.awssdk:s3:2.34.0'
|
||||
@@ -89,16 +94,21 @@ processResources {
|
||||
}
|
||||
}
|
||||
jar {
|
||||
// Minecraft 26.1+ is unobfuscated, so there is no remapJar step; the shaded
|
||||
// jar is the distributable mod. Keep the thin jar under a separate classifier.
|
||||
archiveClassifier = 'dev'
|
||||
inputs.property "archivesName", project.base.archivesName
|
||||
from("LICENSE") {
|
||||
rename { "${it}_${inputs.properties.archivesName}" }
|
||||
}
|
||||
}
|
||||
|
||||
remapJar {
|
||||
input = tasks.shadowJar.archiveFile
|
||||
shadowJar {
|
||||
archiveClassifier = ''
|
||||
}
|
||||
|
||||
assemble.dependsOn shadowJar
|
||||
|
||||
// configure the maven publication
|
||||
publishing {
|
||||
publications {
|
||||
|
||||
Reference in new issue
Block a user