|
|
|
@ -304,15 +304,6 @@ tasks.dependencyUpdates { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
fun commitHash(): String { |
|
|
|
|
val out = ByteArrayOutputStream() |
|
|
|
|
exec { |
|
|
|
|
commandLine("git", "rev-parse", "HEAD") |
|
|
|
|
standardOutput = out |
|
|
|
|
}.assertNormalExitValue() |
|
|
|
|
return String(out.toByteArray(), Charsets.UTF_8).trim() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
tasks.wrapper { |
|
|
|
|
distributionType = Wrapper.DistributionType.ALL |
|
|
|
|
} |
|
|
|
@ -391,3 +382,12 @@ project(":nonfree:unpackclass") { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
fun commitHash(): String { |
|
|
|
|
val out = ByteArrayOutputStream() |
|
|
|
|
exec { |
|
|
|
|
commandLine("git", "rev-parse", "HEAD") |
|
|
|
|
standardOutput = out |
|
|
|
|
}.assertNormalExitValue() |
|
|
|
|
return String(out.toByteArray(), Charsets.UTF_8).trim() |
|
|
|
|
} |
|
|
|
|