diff options
author | Linnea Gräf <nea@nea.moe> | 2024-05-21 21:17:41 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-05-21 21:17:41 +0200 |
commit | f25b818d9d41e2bb3969399cfc8bbff976b5aad7 (patch) | |
tree | 5f9137b374dfca42f596851c85116c9da181fa50 /settings.gradle.kts | |
download | ultra-notifier-f25b818d9d41e2bb3969399cfc8bbff976b5aad7.tar.gz ultra-notifier-f25b818d9d41e2bb3969399cfc8bbff976b5aad7.tar.bz2 ultra-notifier-f25b818d9d41e2bb3969399cfc8bbff976b5aad7.zip |
Init
Diffstat (limited to 'settings.gradle.kts')
-rw-r--r-- | settings.gradle.kts | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/settings.gradle.kts b/settings.gradle.kts new file mode 100644 index 0000000..3f927a5 --- /dev/null +++ b/settings.gradle.kts @@ -0,0 +1,39 @@ +import moe.nea.sharedbuild.Versions + +pluginManagement { + includeBuild("sharedVariables") + repositories { + maven("https://maven.fabricmc.net") + maven("https://jitpack.io") + mavenCentral() + google() + mavenCentral() + gradlePluginPortal() + maven("https://oss.sonatype.org/content/repositories/snapshots") + maven("https://maven.architectury.dev/") + maven("https://maven.minecraftforge.net/") + maven("https://repo.spongepowered.org/maven/") + maven("https://repo.sk1er.club/repository/maven-releases/") + } + resolutionStrategy { + eachPlugin { + when (requested.id.id) { + "com.replaymod.preprocess" -> useModule("com.github.replaymod:preprocessor:${requested.version}") + "gg.essential.loom" -> useModule("gg.essential:architectury-loom:${requested.version}") + } + } + } +} +plugins { + id("moe.nea.shared-variables") +} + +rootProject.name = "ultra-notifier" +rootProject.buildFileName = "root.gradle.kts" + +Versions.values().forEach { version -> + include(version.projectPath) + val p = project(version.projectPath) + p.projectDir = file("versions/${version.projectName}") + p.buildFileName = "../../build.gradle.kts" +} |