geforkt von Mirrors/FastAsyncWorldEdit
Only download translations if a key is provided
Dieser Commit ist enthalten in:
Ursprung
9a01bf9ab2
Commit
f3c97887bc
@ -90,8 +90,7 @@ sourceSets {
|
||||
|
||||
val crowdinApiKey = "crowdin_apikey"
|
||||
|
||||
if (!project.hasProperty(crowdinApiKey)) ext[crowdinApiKey] = ""
|
||||
|
||||
if (project.hasProperty(crowdinApiKey)) {
|
||||
tasks.named<UploadSourceFileTask>("crowdinUpload") {
|
||||
apiKey = "${project.property(crowdinApiKey)}"
|
||||
projectId = "worldedit-core"
|
||||
@ -112,3 +111,4 @@ tasks.named<DownloadTranslationsTask>("crowdinDownload") {
|
||||
tasks.named("processResources").configure {
|
||||
dependsOn("crowdinDownload")
|
||||
}
|
||||
}
|
||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren