Skip to content

Commit

Permalink
build: update crowdin and configure shadow plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Apehum committed Sep 28, 2024
1 parent a3cc483 commit d5f7806
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
12 changes: 11 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import java.net.URI

plugins {
id("java")
kotlin("jvm") version(libs.versions.kotlin.get())
Expand All @@ -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))
}
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
group=su.plo
version=1.1.0
kotlin.stdlib.default.dependency=false
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit d5f7806

Please sign in to comment.