This commit is contained in:
parent
fb58a0839f
commit
4a46eec067
@ -22,11 +22,14 @@ tasks.register("compileJNI") {
|
|||||||
|
|
||||||
jniPlatforms.forEach {
|
jniPlatforms.forEach {
|
||||||
val buildDir = File(cDir, "build-${it.name}")
|
val buildDir = File(cDir, "build-${it.name}")
|
||||||
|
|
||||||
|
tasks.register<Exec>("cmake-${it.name}") {
|
||||||
|
doFirst {
|
||||||
if (!buildDir.exists()) {
|
if (!buildDir.exists()) {
|
||||||
buildDir.mkdir()
|
buildDir.mkdir()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
tasks.register<Exec>("cmake-${it.name}") {
|
|
||||||
group = "jni"
|
group = "jni"
|
||||||
workingDir(buildDir)
|
workingDir(buildDir)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user