Skip to content

Commit

Permalink
wip: Some gradle cleanup + Fabric now runs
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed May 18, 2024
1 parent eb553e4 commit db3b4ee
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 16 deletions.
2 changes: 1 addition & 1 deletion fabric/src/main/resources/balm.fabric.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"minVersion": "0.8",
"package": "net.blay09.mods.balm.mixin",
"refmap": "${mod_id}.refmap.json",
"compatibilityLevel": "JAVA_17",
"compatibilityLevel": "JAVA_21",
"mixins": [
"ChunkMapMixin",
"CropBlockMixin",
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jei_minecraft_version = 1.19.2
jei_version = 11.4.0.288
rei_version = 10.0.581
mixin_version = 0.8.5
modmenu_version = 9.0.0
modmenu_version = 10.0.0-beta.1

# Gradle
org.gradle.jvmargs = -Xmx3G
Expand Down
2 changes: 1 addition & 1 deletion neoforge/src/main/resources/balm.neoforge.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"required": true,
"minVersion": "0.8",
"package": "net.blay09.mods.balm.mixin",
"compatibilityLevel": "JAVA_17",
"compatibilityLevel": "JAVA_21",
"mixins": [
"CropBlockMixin",
"StemBlockMixin",
Expand Down
55 changes: 43 additions & 12 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,21 +1,52 @@
pluginManagement {
repositories {
gradlePluginPortal()
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
mavenCentral()
exclusiveContent {
forRepository {
maven {
name = 'Fabric'
url = uri("https://maven.fabricmc.net")
}
}
filter {
includeGroup("net.fabricmc")
includeGroup("fabric-loom")
}
}
maven {
name = 'NeoForge'
url = 'https://maven.neoforged.net/releases/'
exclusiveContent {
forRepository {
maven {
name = 'NeoForge'
url = uri("https://maven.neoforged.net/releases")
}
}
filter {
includeGroupAndSubgroups("net.neoforged")
includeGroup("codechicken")
}
}
maven {
name = 'Forge'
url = 'https://maven.minecraftforge.net/'
exclusiveContent {
forRepository {
maven {
name = 'Forge'
url = uri("https://maven.minecraftforge.net")
}
}
filter {
includeGroupAndSubgroups("net.minecraftforge")
}
}
maven {
name = 'Sponge Snapshots'
url = 'https://repo.spongepowered.org/repository/maven-public/'
exclusiveContent {
forRepository {
maven {
name = 'Sponge Snapshots'
url = uri("https://repo.spongepowered.org/repository/maven-public")
}
}
filter {
includeGroupAndSubgroups("org.spongepowered")
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion shared/src/main/resources/balm.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"minVersion": "0.8",
"package": "net.blay09.mods.balm.mixin",
"refmap": "${mod_id}.refmap.json",
"compatibilityLevel": "JAVA_17",
"compatibilityLevel": "JAVA_21",
"mixins": [
],
"client": [
Expand Down

0 comments on commit db3b4ee

Please sign in to comment.