OpenProximityChat/settings.gradle.kts

28 lines
788 B
Plaintext
Raw Normal View History

2022-11-11 08:08:37 +00:00
rootProject.name = "OpenProximityChat"
2022-11-29 18:49:10 +00:00
include("forge", "fabric", "server", "common")
2022-11-11 08:08:37 +00:00
pluginManagement {
repositories {
maven("https://maven.fabricmc.net/") {
name = "Fabric"
}
2022-11-11 08:08:37 +00:00
maven("https://maven.minecraftforge.net/") {
name = "Forge"
}
mavenCentral()
gradlePluginPortal()
}
val loom_version: String by settings
val fabric_kotlin_version: String by settings
plugins {
id("fabric-loom") version loom_version
id("org.jetbrains.kotlin.jvm") version
fabric_kotlin_version
.split("+kotlin.")[1] // Grabs the sentence after `+kotlin.`
.split("+")[0] // Ensures sentences like `+build.1` are ignored
}
2022-11-11 08:08:37 +00:00
}
include("common")