aboutsummaryrefslogtreecommitdiff
path: root/settings.gradle
diff options
context:
space:
mode:
authorRoseGoldIsntGay <yoavkau@gmail.com>2021-11-07 18:34:22 +0200
committerRoseGoldIsntGay <yoavkau@gmail.com>2021-11-07 18:34:22 +0200
commit6f69d1e1aff688bf2f5ca34754640eed5102b045 (patch)
treee931c56ad48dedb4cec6ffceb78ef0b320c1c192 /settings.gradle
downloadRGA-6f69d1e1aff688bf2f5ca34754640eed5102b045.tar.gz
RGA-6f69d1e1aff688bf2f5ca34754640eed5102b045.tar.bz2
RGA-6f69d1e1aff688bf2f5ca34754640eed5102b045.zip
committed
or something
Diffstat (limited to 'settings.gradle')
-rw-r--r--settings.gradle31
1 files changed, 31 insertions, 0 deletions
diff --git a/settings.gradle b/settings.gradle
new file mode 100644
index 0000000..f66dbc7
--- /dev/null
+++ b/settings.gradle
@@ -0,0 +1,31 @@
+pluginManagement {
+ repositories {
+ mavenCentral()
+ gradlePluginPortal()
+
+ // Add the Forge Repository (ForgeGradle fetches most of its stuff from here)
+ maven {
+ name = "Forge"
+ url = "https://maven.minecraftforge.net"
+ }
+
+ // Add the Jitpack Repository (We fetch ForgeGradle from this)
+ maven {
+ name = "Jitpack"
+ url = "https://jitpack.io/"
+ }
+ }
+ resolutionStrategy {
+ eachPlugin {
+ // If the "net.minecraftforge.gradle.forge" plugin is requested we redirect it to asbyth's ForgeGradle fork
+ if (requested.id.id == "net.minecraftforge.gradle.forge") {
+ useModule("com.github.asbyth:ForgeGradle:${requested.version}")
+ }
+ if (requested.id.id == "org.spongepowered.mixin") {
+ useModule("com.github.xcfrg:MixinGradle:${requested.version}")
+ }
+ }
+ }
+}
+
+rootProject.name = "ForgeTemplate" \ No newline at end of file