blob: 2eb9c79cab3da0990555d15ec67855bf5dc9771a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
plugins {
id 'com.android.application' version '8.1.0'
}
android {
namespace 'fi.pulk.hacraft'
compileSdk 33
defaultConfig {
applicationId 'fi.pulk.hacraft'
versionCode 1
versionName '1.0'
minSdk 19
targetSdk 28
externalNativeBuild {
cmake {
arguments '-DSDL_ROOT=' + project.property('sdlRoot')
abiFilters 'arm64-v8a', 'x86_64'
}
}
}
externalNativeBuild {
cmake {
path 'jni/CMakeLists.txt'
}
}
sourceSets {
main {
java.srcDir project.property('sdlRoot') \
+ '/android-project/app/src/main/java'
}
}
lintOptions {
// SDL's java shim has unaddressed linter warnings, and this is
// how they deal with them, apparently. *shrug*
// (Based on android-project/app/build.gradle, anyway.)
abortOnError false
}
}
|