crystal-of-rhylil/proj.android-studio/app/build.gradle

52 lines
1.3 KiB
Groovy
Raw Permalink Normal View History

2018-07-20 07:36:26 +00:00
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion "28.0.0"
defaultConfig {
applicationId "com.fishrungames.crystalofrhylil"
2018-08-01 08:31:24 +00:00
minSdkVersion 24
2018-07-20 07:36:26 +00:00
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
externalNativeBuild {
cmake {
2018-08-01 08:31:24 +00:00
abiFilters "armeabi-v7a"
2018-07-20 07:36:26 +00:00
arguments "-DANDROID_STL=c++_shared"
cppFlags "-std=c++17 -frtti -fexceptions -fsigned-char -Wno-c++11-narrowing"
2018-08-01 08:31:24 +00:00
cFlags "-DTARGET_ANDROID",
"-DTARGET_HALIBUT"
2018-07-20 07:36:26 +00:00
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
externalNativeBuild {
cmake {
path "CMakeLists.txt"
}
}
sourceSets {
main {
assets.srcDirs = ['../../assets/']
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28+'
implementation project(':SalmonEngineAndroid')
}