Skip to content

Commit

Permalink
Go back to using ForgeGradle, use FancyGradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Barteks2x committed Dec 26, 2023
1 parent ea9a774 commit 7822bbd
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
13 changes: 12 additions & 1 deletion CubicChunksAPI/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ plugins {
`maven-publish`
signing
idea
id("net.neoforged.gradle").version("[6.0.18,6.2)")
id("net.minecraftforge.gradle").version("6.0.18")
id("wtf.gofancy.fancygradle").version("1.1.3-0")
id("io.github.opencubicchunks.gradle.mcGitVersion")
id("com.github.hierynomus.license").version("0.16.1")
}
Expand Down Expand Up @@ -43,6 +44,16 @@ dependencies {
minecraft(group = "net.minecraftforge", name = "forge", version = "1.12.2-14.23.5.2860")
}

fancyGradle {
patches {
resources
coremods
codeChickenLib
asm
mergetool
}
}

minecraft {
mappings("stable", "39-1.12")
}
Expand Down
4 changes: 4 additions & 0 deletions CubicChunksAPI/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ pluginManagement {
maven {
setUrl("https://repo.spongepowered.org/repository/maven-public/")
}
maven {
name = "Garden of Fancy"
setUrl("https://maven.gofancy.wtf/releases")
}
}
}
plugins {
Expand Down
13 changes: 12 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ plugins {
`maven-publish`
signing
idea
id("net.neoforged.gradle").version("[6.0.18,6.2)")
id("net.minecraftforge.gradle").version("6.0.18")
id("wtf.gofancy.fancygradle").version("1.1.3-0")
id("org.spongepowered.mixin").version("0.7-SNAPSHOT")
id("com.github.johnrengelman.shadow").version("7.1.2")
id("com.github.hierynomus.license").version("0.16.1")
Expand All @@ -40,6 +41,16 @@ mcGitVersion {

java.toolchain.languageVersion.set(JavaLanguageVersion.of(8))

fancyGradle {
patches {
resources
coremods
codeChickenLib
asm
mergetool
}
}

minecraft {
mappings("stable", "39-1.12")

Expand Down
4 changes: 4 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ pluginManagement {
maven {
setUrl("https://repo.spongepowered.org/repository/maven-public/")
}
maven {
name = "Garden of Fancy"
setUrl("https://maven.gofancy.wtf/releases")
}
}
resolutionStrategy {
eachPlugin {
Expand Down

0 comments on commit 7822bbd

Please sign in to comment.