1. back to ndk build task

This commit is contained in:
vadym 2020-06-17 01:10:12 -07:00
parent 69170fa3e0
commit a9596c445c

View File

@ -30,6 +30,16 @@ android {
ndkVersion "21.2.6472646" ndkVersion "21.2.6472646"
} }
task ndkBuild(type: Exec) {
def rootDir = project.rootDir
workingDir = new File(rootDir,"yggdrasil")
commandLine 'make'
}
gradle.projectsEvaluated {
tasks.compileDebugKotlin.dependsOn(ndkBuild)
}
dependencies { dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(path: ':yggdrasil') implementation project(path: ':yggdrasil')