diff --git a/build.gradle.kts b/build.gradle.kts index 50eed1c..aa3d713 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,5 @@ +import java.net.URI + plugins { id("java") kotlin("jvm") version(libs.versions.kotlin.get()) @@ -19,13 +21,21 @@ repositories { } crowdin { - projectId = "plasmo-voice-addons" + url = URI.create("https://github.com/plasmoapp/plasmo-voice-crowdin/archive/refs/heads/addons.zip").toURL() sourceFileName = "server/priority.toml" resourceDir = "priority/languages" createList = true } tasks { + jar { + enabled = false + } + + shadowJar { + archiveClassifier.set("") + } + java { toolchain.languageVersion.set(JavaLanguageVersion.of(8)) } diff --git a/gradle.properties b/gradle.properties index 0807fd1..fdb9379 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,3 @@ group=su.plo version=1.1.0 +kotlin.stdlib.default.dependency=false \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 7271ed3..dcf4772 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,7 +4,7 @@ lombok = "1.18.24" pv = "2.1.0-SNAPSHOT" -crowdin = "1.0.2-SNAPSHOT" +crowdin = "1.1.0-SNAPSHOT" pv-gradle-plugin = "1.0.2-SNAPSHOT" [libraries]