aboutsummaryrefslogtreecommitdiff
path: root/settings.gradle.kts
diff options
context:
space:
mode:
authorRoman / Nea <roman.graef@gmail.com>2022-01-16 00:39:26 +0100
committerGitHub <noreply@github.com>2022-01-15 18:39:26 -0500
commit44579fe04c21b8d7dca5d9b267e81ae8e46515f2 (patch)
tree9dd3f5ce4bc7124102938921818e24790943d442 /settings.gradle.kts
parent1cf4a3bc76fa52cd847b3da8022e9820de5862c2 (diff)
downloadNotEnoughUpdates-44579fe04c21b8d7dca5d9b267e81ae8e46515f2.tar.gz
NotEnoughUpdates-44579fe04c21b8d7dca5d9b267e81ae8e46515f2.tar.bz2
NotEnoughUpdates-44579fe04c21b8d7dca5d9b267e81ae8e46515f2.zip
New buildscript (#59)
* Rewrite build.gradle * Fix mixins * Finishing touches on the buildscript * maybe potentially fix a dependency issue that i cant reproduce on my end
Diffstat (limited to 'settings.gradle.kts')
-rw-r--r--settings.gradle.kts17
1 files changed, 17 insertions, 0 deletions
diff --git a/settings.gradle.kts b/settings.gradle.kts
new file mode 100644
index 00000000..44138312
--- /dev/null
+++ b/settings.gradle.kts
@@ -0,0 +1,17 @@
+pluginManagement {
+ repositories {
+ mavenCentral()
+ gradlePluginPortal()
+ maven(url = "https://jitpack.io/")
+ maven(url = "https://maven.minecraftforge.net/")
+ maven(url = "https://repo.spongepowered.org/maven/")
+ }
+ resolutionStrategy {
+ eachPlugin {
+ when (requested.id.id) {
+ "net.minecraftforge.gradle.forge" -> useModule("com.github.asbyth:ForgeGradle:${requested.version}")
+ "org.spongepowered.mixin" -> useModule("com.github.LxGaming:MixinGradle:${requested.version}")
+ }
+ }
+ }
+}