diff --git a/app/build.gradle b/app/build.gradle index 5308b5a..930194a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -30,6 +30,16 @@ android { 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 { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation project(path: ':yggdrasil')