mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2025-01-30 12:51:17 +08:00
[Forge] Include all -core resources, for all langs
This commit is contained in:
parent
38f3f8e667
commit
92eab931ea
@ -105,12 +105,19 @@
|
||||
)
|
||||
}
|
||||
|
||||
tasks.named<DownloadTranslationsTask>("crowdinDownload") {
|
||||
val dlTranslationsTask = tasks.named<DownloadTranslationsTask>("crowdinDownload") {
|
||||
apiKey = "${project.property(crowdinApiKey)}"
|
||||
destination = "${file("build/resources/main/lang")}"
|
||||
destination = "${buildDir.resolve("crowdin-i18n")}"
|
||||
projectId = "worldedit-core"
|
||||
}
|
||||
|
||||
tasks.named<Copy>("processResources") {
|
||||
dependsOn(dlTranslationsTask)
|
||||
from(dlTranslationsTask.get().destination) {
|
||||
into("lang")
|
||||
}
|
||||
}
|
||||
|
||||
tasks.named("classes").configure {
|
||||
dependsOn("crowdinDownload")
|
||||
}
|
||||
|
@ -77,7 +77,7 @@
|
||||
}
|
||||
|
||||
// copy from -core resources as well
|
||||
from(project(":worldedit-core").sourceSets["main"].resources.srcDirs)
|
||||
from(project(":worldedit-core").tasks.named("processResources"))
|
||||
}
|
||||
|
||||
tasks.named<Jar>("jar") {
|
||||
|
Loading…
Reference in New Issue
Block a user