summaryrefslogtreecommitdiff
path: root/settings.gradle.kts
blob: 4a20c6e3583f90e8aeef1a2465970e282d61e8b0 (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
40
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/")
		maven("https://maven.deftu.dev/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"
}