Begin update process to 1.21.1
This commit is contained in:
parent
1c63a59566
commit
922f89d14c
8 changed files with 68 additions and 62 deletions
16
build.gradle
16
build.gradle
|
@ -1,5 +1,5 @@
|
|||
plugins {
|
||||
id 'dev.architectury.loom' version '1.6-SNAPSHOT'
|
||||
id 'dev.architectury.loom' version '1.7-SNAPSHOT'
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
|
@ -13,12 +13,16 @@ base {
|
|||
loom {
|
||||
silentMojangMappingsLicense()
|
||||
|
||||
forge {
|
||||
neoforge {
|
||||
mixinConfig 'ariasessentials.mixins.json'
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
name = 'NeoForged'
|
||||
url = 'https://maven.neoforged.net/releases'
|
||||
}
|
||||
// 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.
|
||||
|
@ -45,7 +49,7 @@ repositories {
|
|||
dependencies {
|
||||
minecraft "net.minecraft:minecraft:$project.minecraft_version"
|
||||
mappings loom.officialMojangMappings()
|
||||
forge "net.minecraftforge:forge:$project.forge_version"
|
||||
neoForge "net.neoforged:neoforge:$project.neoforge_version"
|
||||
|
||||
|
||||
// compile against the JEI API but do not include it at runtime
|
||||
|
@ -68,12 +72,12 @@ java {
|
|||
// If you remove this line, sources will not be generated.
|
||||
withSourcesJar()
|
||||
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
sourceCompatibility = JavaVersion.VERSION_21
|
||||
targetCompatibility = JavaVersion.VERSION_21
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
it.options.release = 17
|
||||
it.options.release = 21
|
||||
}
|
||||
|
||||
// Configure Maven publishing.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue