Skip to content

Commit a9e938e

Browse files
author
Greg Williamson
committed
compiler fixups
1 parent 67645a0 commit a9e938e

File tree

3 files changed

+54
-3
lines changed

3 files changed

+54
-3
lines changed

enigma/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 30
5-
ndkVersion "22.0.6917172"
4+
compileSdkVersion 29
5+
ndkVersion "23.0.7599858"
66
defaultConfig {
77
applicationId "enigma.game"
88
minSdkVersion 19
9-
targetSdkVersion 30
9+
targetSdkVersion 29
1010
versionCode 1
1111
versionName "1.0"
1212
externalNativeBuild {

enigma/build.gradle.template

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
apply plugin: 'com.android.application'
2+
3+
android {
4+
compileSdkVersion %ANDROID_API_LEVEL%
5+
ndkVersion "%ANDROID_NDK_VERSION%"
6+
defaultConfig {
7+
applicationId "enigma.game"
8+
minSdkVersion 19
9+
targetSdkVersion %ANDROID_API_LEVEL%
10+
versionCode 1
11+
versionName "1.0"
12+
externalNativeBuild {
13+
ndkBuild {
14+
arguments "APP_PLATFORM=android-19"
15+
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
16+
}
17+
}
18+
}
19+
20+
applicationVariants.all { variant ->
21+
variant.outputs.all {
22+
outputFileName = "$System.env.BASENAME"
23+
}
24+
}
25+
26+
buildTypes {
27+
release {
28+
minifyEnabled false
29+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
30+
}
31+
}
32+
33+
sourceSets.main {
34+
jniLibs.srcDir 'libs'
35+
}
36+
37+
externalNativeBuild {
38+
ndkBuild {
39+
buildStagingDirectory "$System.env.WORKDIR/ndk-build"
40+
path './Android.mk'
41+
}
42+
}
43+
44+
lintOptions {
45+
abortOnError false
46+
}
47+
}
48+
49+
dependencies {
50+
implementation fileTree(include: ['*.jar'], dir: 'libs')
51+
}

fix_paths.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)