summaryrefslogtreecommitdiff
path: root/settings.gradle.kts
blob: 3f927a5b35c5afba8beae25edd02c4576a0f5a0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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"
}