2023-08-26 08:43:09 +02:00
|
|
|
import lol.koblizek.serverloader.plugin.server
|
|
|
|
|
2023-08-02 23:01:55 +02:00
|
|
|
plugins {
|
|
|
|
id("lighteco.platform-logic")
|
2023-08-30 08:46:30 +02:00
|
|
|
id("lol.koblizek.serverloader") version "1.2"
|
2023-08-26 08:43:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
2024-07-16 18:04:37 +02:00
|
|
|
version = "1.20.6"
|
|
|
|
type = "purpur"
|
|
|
|
|
|
|
|
// Minecraft 1.20.6 requires java 21
|
|
|
|
java {
|
|
|
|
targetCompatibility = JavaVersion.VERSION_21
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_21
|
|
|
|
toolchain {
|
|
|
|
languageVersion.set(JavaLanguageVersion.of(21))
|
|
|
|
}
|
|
|
|
}
|
2023-08-02 23:01:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
maven("https://repo.papermc.io/repository/maven-public/")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compileOnly(project(":lighteco-api"))
|
|
|
|
compileOnly("io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT")
|
|
|
|
|
|
|
|
compileOnly("org.projectlombok:lombok:1.18.28")
|
|
|
|
annotationProcessor("org.projectlombok:lombok:1.18.28")
|
|
|
|
}
|