mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Fixx kobalt.properties not included in kobalt-wrapper.jar.
This commit is contained in:
parent
13e7aae4e8
commit
6028276688
2 changed files with 4 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -54,7 +54,9 @@ class VerifyKobaltZipTest : KobaltTest() {
|
|||
verifyMainJarFile(ins)
|
||||
foundJar = true
|
||||
} else if (entry.name.endsWith("kobalt-wrapper.jar")) {
|
||||
val ins = zipFile.getInputStream(entry)
|
||||
foundWrapperJar = true
|
||||
assertExistsInJarInputStream(JarInputStream(ins), "kobalt.properties")
|
||||
}
|
||||
entry = stream.nextEntry
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue