1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-25 05:47:17 +00:00
hyperrogue/hyperroid/app/build.gradle

98 lines
2.3 KiB
Groovy
Raw Normal View History

2017-03-23 12:54:10 +00:00
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion "29.0.1"
2017-03-23 12:54:10 +00:00
defaultConfig {
applicationId "com.roguetemple.hyperroid"
2018-06-07 18:13:31 +00:00
minSdkVersion 18
targetSdkVersion 29
2017-03-23 12:54:10 +00:00
// multiDexEnabled true
//javaMaxHeapSize "4g"
externalNativeBuild {
// Encapsulates your CMake build configurations.
cmake {
// Provides a relative path to your CMake build script.
// ldLibs "-lGLESv1_CM -llog"
2018-06-07 17:51:14 +00:00
cFlags "-integrated-as"
2017-03-23 12:54:10 +00:00
}
}
ndk {
moduleName "hyper"
2018-06-07 16:28:32 +00:00
ldLibs "GLESv3 -llog"
2017-03-23 12:54:10 +00:00
stl "stlport_static"
// abiFilters 'armeabi', 'x86_64'
2018-12-15 14:17:26 +00:00
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
2017-03-23 12:54:10 +00:00
// abiFilters 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'arm64-v8a', 'mips', 'mips64'
}
}
signingConfigs {
release {
storeFile System.getenv("KSTOREFILE")
storePassword System.getenv("KSTOREPWD")
keyAlias System.getenv("KEYALIAS")
keyPassword System.getenv("KEYPWD")
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
signingConfig signingConfigs.release
}
debug {
ndk {
// abiFilters.addAll(["armeabi"])
}
}
}
// Encapsulates your external native build configurations.
externalNativeBuild {
// Encapsulates your CMake build configurations.
cmake {
// Provides a relative path to your CMake build script.
path "CMakeLists.txt"
}
}
compileOptions {
// targetCompatibility 1.8
// sourceCompatibility 1.8
}
lintOptions {
checkReleaseBuilds false
abortOnError false
}
}
2017-03-23 13:09:36 +00:00
dependencies {
//
// IDE setting pulls in the specific version of v4 support you have installed:
//
2018-12-15 14:17:26 +00:00
implementation 'com.android.support:support-v4:28.0.0'
2017-03-23 13:09:36 +00:00
//
// generic directive pulls in any available version of v4 support:
//
2018-06-07 17:51:14 +00:00
// compile 'com.android.support:support-v4:+'
2017-03-23 13:09:36 +00:00
}