diff --git a/app/build.gradle b/app/build.gradle index c9c4b05..cf1cf5a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -38,6 +38,15 @@ android { } } +task ndkBuild(type: Exec) { + def rootDir = project.rootDir + workingDir = new File(rootDir,"yggdrasil") + commandLine 'make' +} + +gradle.projectsEvaluated { + tasks.compileDebugKotlin.dependsOn(ndkBuild) +} dependencies {