diff --git a/build.gradle.kts b/build.gradle.kts index c8128b2..fe9e7dd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,14 +1,14 @@ plugins { kotlin("jvm") version "1.9.20" - id("maven-publish") + `maven-publish` } val githubActor = project.findProperty("gpr.user") as String? ?: System.getenv("GITHUB_ACTOR") val githubToken = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN") group = "me.tech" -version = "1.4.1" +version = "1.4.2" repositories { mavenCentral() @@ -17,8 +17,13 @@ repositories { } dependencies { - implementation("org.jetbrains.kotlin:kotlin-stdlib:1.9.20") - compileOnly("io.papermc.paper:paper-api:1.20.2-R0.1-SNAPSHOT") + implementation(kotlin("stdlib")) + + compileOnly("io.papermc.paper:paper-api:1.19.4-R0.1-SNAPSHOT") +} + +kotlin { + jvmToolchain(17) } java { diff --git a/settings.gradle.kts b/settings.gradle.kts index 950b163..8e924aa 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,2 +1,13 @@ +plugins { + id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0" +} + rootProject.name = "mc-chestui-plus" -include("development") \ No newline at end of file + +if(System.getenv("JITPACK") != null) { + include("development") + + startParameter.excludedTaskNames += ":development:build" + startParameter.excludedTaskNames += ":development:compileJava" + startParameter.excludedTaskNames += ":development:compileKotlin" +} \ No newline at end of file