aboutsummaryrefslogtreecommitdiff
path: root/settings.gradle
diff options
context:
space:
mode:
authornextdaydelivery <12willettsh@gmail.com>2022-02-12 09:24:51 +0000
committernextdaydelivery <12willettsh@gmail.com>2022-02-12 09:24:51 +0000
commit88df999a8ff35ea30b8fa9cf94c46dd748215581 (patch)
tree8cf665d5460fc07e15f62f9d01d9889eca76ef2b /settings.gradle
downloadOneConfig-88df999a8ff35ea30b8fa9cf94c46dd748215581.tar.gz
OneConfig-88df999a8ff35ea30b8fa9cf94c46dd748215581.tar.bz2
OneConfig-88df999a8ff35ea30b8fa9cf94c46dd748215581.zip
swoosh
Diffstat (limited to 'settings.gradle')
-rw-r--r--settings.gradle30
1 files changed, 30 insertions, 0 deletions
diff --git a/settings.gradle b/settings.gradle
new file mode 100644
index 0000000..9c76f81
--- /dev/null
+++ b/settings.gradle
@@ -0,0 +1,30 @@
+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}")
+ }
+ }
+ }
+}
+
+
+rootProject.name = 'oneConfig'
+