mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-04 12:06:41 +00:00
Fixed issues brought up in review
This commit is contained in:
@ -95,20 +95,20 @@ if (project.hasProperty(crowdinApiKey)) {
|
||||
apiKey = "${project.property(crowdinApiKey)}"
|
||||
projectId = "worldedit-core"
|
||||
files = arrayOf(
|
||||
object {
|
||||
var name = "strings.json"
|
||||
var source = "$projectDir/src/main/resources/lang/strings.json"
|
||||
}
|
||||
object {
|
||||
var name = "strings.json"
|
||||
var source = "${file("src/main/resources/lang/strings.json")}"
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
tasks.named<DownloadTranslationsTask>("crowdinDownload") {
|
||||
apiKey = "${project.property(crowdinApiKey)}"
|
||||
destination = "$projectDir/src/main/resources/lang"
|
||||
destination = "${file("build/resources/main/lang")}"
|
||||
projectId = "worldedit-core"
|
||||
}
|
||||
|
||||
tasks.named("processResources").configure {
|
||||
tasks.named("classes").configure {
|
||||
dependsOn("crowdinDownload")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user