1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-27 08:38:13 -07:00

Fixx kobalt.properties not included in kobalt-wrapper.jar.

This commit is contained in:
Cedric Beust 2016-05-01 08:09:55 -07:00
parent 13e7aae4e8
commit 6028276688
2 changed files with 4 additions and 1 deletions

View file

@ -205,7 +205,8 @@ fun readVersion() : String {
}
}
@Task(name = "copyVersionForWrapper", runBefore = arrayOf("assemble"), runAfter = arrayOf("compile"), description = "")
@Task(name = "copyVersionForWrapper", runBefore = arrayOf("assemble"),
reverseDependsOn = arrayOf("compile"), description = "")
fun taskCopyVersionForWrapper(project: Project) : TaskResult {
if (project.name == "kobalt-wrapper") {
val toString = "modules/wrapper/kobaltBuild/classes"