|
|
@ -1,7 +1,6 @@ |
|
|
|
import org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapper |
|
|
|
import org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapper |
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile |
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile |
|
|
|
import java.io.ByteArrayOutputStream |
|
|
|
import java.io.ByteArrayOutputStream |
|
|
|
import java.nio.charset.StandardCharsets |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
defaultTasks("build") |
|
|
|
defaultTasks("build") |
|
|
|
|
|
|
|
|
|
|
@ -207,7 +206,7 @@ fun commitHash(): String { |
|
|
|
commandLine("git", "rev-parse", "HEAD") |
|
|
|
commandLine("git", "rev-parse", "HEAD") |
|
|
|
standardOutput = out |
|
|
|
standardOutput = out |
|
|
|
}.assertNormalExitValue() |
|
|
|
}.assertNormalExitValue() |
|
|
|
return String(out.toByteArray(), StandardCharsets.UTF_8).trim() |
|
|
|
return String(out.toByteArray(), Charsets.UTF_8).trim() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
tasks.dokka { |
|
|
|
tasks.dokka { |
|
|
|