diff options
Diffstat (limited to 'settings.gradle.kts')
| -rw-r--r-- | settings.gradle.kts | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/settings.gradle.kts b/settings.gradle.kts new file mode 100644 index 0000000..c3a3536 --- /dev/null +++ b/settings.gradle.kts | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | pluginManagement { | ||
| 2 | repositories { | ||
| 3 | maven { | ||
| 4 | name = "Quilt" | ||
| 5 | url = uri("https://maven.quiltmc.org/repository/release") | ||
| 6 | content { | ||
| 7 | includeGroup("org.quiltmc") | ||
| 8 | includeGroup("org.quiltmc.loom") | ||
| 9 | includeGroup("org.quiltmc.parsers") | ||
| 10 | } | ||
| 11 | } | ||
| 12 | |||
| 13 | maven { | ||
| 14 | name = "Fabric" | ||
| 15 | url = uri("https://maven.fabricmc.net/") | ||
| 16 | content { | ||
| 17 | includeGroup("net.fabricmc") | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | gradlePluginPortal() | ||
| 22 | } | ||
| 23 | |||
| 24 | val loomPluginVersion: String by settings | ||
| 25 | plugins { | ||
| 26 | id("org.quiltmc.loom") version loomPluginVersion | ||
| 27 | } | ||
| 28 | } | ||
| 29 | |||
| 30 | val modid: String by settings | ||
| 31 | val minecraftVersion: String by settings | ||
| 32 | |||
| 33 | rootProject.name = "${modid}-mc${minecraftVersion}" \ No newline at end of file | ||