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