Build in latest Android Studio

This commit is contained in:
Simon 2024-05-06 13:26:47 +01:00
parent e680ff2675
commit ee4dd3b857
2 changed files with 17 additions and 7 deletions

View file

@ -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 {
}

View file

@ -1,4 +1 @@
rootProject.projectDir = new File(settingsDir, '../../../..')
rootProject.name = "Doom3Quest"
include ':', 'VrSamples:Doom3Quest:Projects:Android'