mirror of
https://github.com/DrBeef/Doom3Quest.git
synced 2024-11-26 22:02:30 +00:00
Build in latest Android Studio
This commit is contained in:
parent
e680ff2675
commit
ee4dd3b857
2 changed files with 17 additions and 7 deletions
|
@ -1,5 +1,15 @@
|
|||
buildscript {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:4.0.0'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'com.android.application'
|
||||
apply from: "${rootProject.projectDir}/VrApp.gradle"
|
||||
|
||||
android {
|
||||
// This is the name of the generated apk file, which will have
|
||||
|
@ -27,6 +37,12 @@ android {
|
|||
targetSdkVersion 26
|
||||
}
|
||||
|
||||
externalNativeBuild {
|
||||
ndkBuild {
|
||||
path file('jni/Android.mk')
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
manifest.srcFile 'AndroidManifest.xml'
|
||||
|
@ -64,6 +80,3 @@ buildscript {
|
|||
google()
|
||||
}
|
||||
}
|
||||
|
||||
task prepareKotlinBuildScriptModel {
|
||||
}
|
||||
|
|
|
@ -1,4 +1 @@
|
|||
rootProject.projectDir = new File(settingsDir, '../../../..')
|
||||
rootProject.name = "Doom3Quest"
|
||||
|
||||
include ':', 'VrSamples:Doom3Quest:Projects:Android'
|
||||
|
|
Loading…
Reference in a new issue