generated from Deftu/FabricModTemplate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.gradle.kts
41 lines (35 loc) · 1.23 KB
/
settings.gradle.kts
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
41
import groovy.lang.MissingPropertyException
pluginManagement {
repositories {
// Default repositories
gradlePluginPortal()
mavenCentral()
// Repositories
maven("https://maven.enhancedpixel.xyz/releases")
maven("https://maven.fabricmc.net")
maven("https://maven.architectury.dev/")
maven("https://maven.minecraftforge.net")
maven("https://repo.essential.gg/repository/maven-public")
maven("https://server.bbkr.space/artifactory/libs-release/")
maven("https://jitpack.io/")
// Snapshots
maven("https://maven.enhancedpixel.xyz/snapshots")
maven("https://s01.oss.sonatype.org/content/groups/public/")
mavenLocal()
}
plugins {
val kotlin = "1.6.21"
kotlin("jvm") version(kotlin)
}
}
val projectName: String = extra["project.name"]?.toString()
?: throw MissingPropertyException("Project name was not set!")
rootProject.name = projectName
// Next, we need to load all available mods
include(":loader")
// We also provide an in-depth API alongside our loader
include(":api")
// Here we implement the classes in our API
include(":impl")
// Simply for testing the loader internally
include(":test-mod")