|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
def pEpEngineSrc = hasProperty('pEpEngineSrc') ? pEpEngineSrc : "../../pEpEngine" |
|
|
|
def buildAutomatic = hasProperty('buildAutomatic') ? buildAutomatic : "true" |
|
|
|
def threadsToUse = hasProperty('threadsToUse') ? threadsToUse : 2 |
|
|
|
def threadsToUse = hasProperty('threadsToUse') ? threadsToUse : 1 |
|
|
|
|
|
|
|
def pEpEngineDB = new File(new File(pEpEngineSrc), 'db') |
|
|
|
|
|
|
@ -12,7 +12,7 @@ buildscript { |
|
|
|
jcenter() |
|
|
|
} |
|
|
|
dependencies { |
|
|
|
classpath 'com.android.tools.build:gradle:3.5.3' |
|
|
|
classpath 'com.android.tools.build:gradle:4.0.0' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -26,14 +26,13 @@ allprojects { |
|
|
|
apply plugin: 'com.android.library' |
|
|
|
|
|
|
|
android { |
|
|
|
compileSdkVersion 27 |
|
|
|
buildToolsVersion '28.0.3' |
|
|
|
compileSdkVersion 30 |
|
|
|
|
|
|
|
defaultConfig { |
|
|
|
minSdkVersion 19 |
|
|
|
targetSdkVersion 27 |
|
|
|
versionCode 1 |
|
|
|
versionName "1.0" |
|
|
|
targetSdkVersion 30 |
|
|
|
versionCode 2 |
|
|
|
versionName "2.1.0-RC5" |
|
|
|
|
|
|
|
externalNativeBuild { |
|
|
|
ndkBuild { |
|
|
@ -145,6 +144,7 @@ android { |
|
|
|
from file(new File(pEpEngineDB, 'system.db')) |
|
|
|
into 'assets' |
|
|
|
} |
|
|
|
ndkVersion '21.0.6113669' |
|
|
|
|
|
|
|
if(buildAutomatic == "true") { |
|
|
|
buildpEpEngineSystemDB.dependsOn(buildExternal) |
|
|
|