mirror of
https://github.com/DrBeef/Doom3Quest.git
synced 2024-12-18 07:40:52 +00:00
59 lines
1.5 KiB
Groovy
59 lines
1.5 KiB
Groovy
|
apply plugin: 'com.android.application'
|
||
|
apply from: "${rootProject.projectDir}/VrApp.gradle"
|
||
|
|
||
|
android {
|
||
|
// This is the name of the generated apk file, which will have
|
||
|
// -debug.apk or -release.apk appended to it.
|
||
|
// The filename doesn't effect the Android installation process.
|
||
|
// Use only letters to remain compatible with the package name.
|
||
|
project.archivesBaseName = "doom3quest"
|
||
|
|
||
|
defaultConfig {
|
||
|
// Gradle replaces the manifest package with this value, which must
|
||
|
// be unique on a system. If you don't change it, a new app
|
||
|
// will replace an older one.
|
||
|
applicationId "com.drbeef." + project.archivesBaseName
|
||
|
|
||
|
// override app plugin abiFilters for both 32 and 64-bit support
|
||
|
externalNativeBuild {
|
||
|
ndk {
|
||
|
abiFilters 'arm64-v8a'
|
||
|
}
|
||
|
ndkBuild {
|
||
|
abiFilters 'arm64-v8a'
|
||
|
}
|
||
|
}
|
||
|
minSdkVersion 24
|
||
|
targetSdkVersion 26
|
||
|
}
|
||
|
|
||
|
sourceSets {
|
||
|
main {
|
||
|
manifest.srcFile 'AndroidManifest.xml'
|
||
|
java.srcDirs = ['../../java']
|
||
|
jniLibs.srcDir 'libs'
|
||
|
res.srcDirs = ['../../res']
|
||
|
assets.srcDirs = ['../../assets']
|
||
|
}
|
||
|
}
|
||
|
compileOptions {
|
||
|
sourceCompatibility = '1.8'
|
||
|
targetCompatibility = '1.8'
|
||
|
}
|
||
|
compileSdkVersion = 24
|
||
|
buildToolsVersion = '29.0.1'
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation "com.android.support:support-compat:24.2.0"
|
||
|
implementation "com.android.support:support-core-utils:24.2.0"
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
google()
|
||
|
}
|
||
|
buildscript {
|
||
|
repositories {
|
||
|
google()
|
||
|
}
|
||
|
}
|