From bfb30af46525e796ff036c4225d707fae84cea50 Mon Sep 17 00:00:00 2001 From: vadym Date: Sat, 27 Jun 2020 11:40:16 -0700 Subject: [PATCH] 1. bump version --- app/build.gradle | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index aa8a25e..eac470b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,7 +8,7 @@ android { applicationId "io.github.chronosx88.yggdrasil" minSdkVersion 21 targetSdkVersion 29 - versionCode 3 + versionCode 2 versionName "1.2" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" project.ext.set("archivesBaseName", project.getParent().name+"-"+versionName) @@ -38,6 +38,17 @@ android { } } +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')