mirror of
https://github.com/DrBeef/QuestZDoom.git
synced 2025-04-24 10:08:52 +00:00
build: add ndkVersion and format build.gradle
replace gradle-wrapper.jar since it throws error when trying to retrieve the version
This commit is contained in:
parent
97d1afb95c
commit
500008d8dd
3 changed files with 49 additions and 47 deletions
|
@ -2,61 +2,61 @@ 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 = "questzdoom"
|
||||
// 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 = "questzdoom"
|
||||
|
||||
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
|
||||
compileSdkVersion 26
|
||||
|
||||
// override app plugin abiFilters for both 32 and 64-bit support
|
||||
externalNativeBuild {
|
||||
ndk {
|
||||
defaultConfig {
|
||||
minSdkVersion 24
|
||||
targetSdkVersion 26
|
||||
|
||||
// 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'
|
||||
}
|
||||
}
|
||||
ndkBuild {
|
||||
abiFilters 'arm64-v8a'
|
||||
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
manifest.srcFile 'AndroidManifest.xml'
|
||||
java.srcDirs = ['../../java']
|
||||
jniLibs.srcDir 'libs'
|
||||
res.srcDirs = ['../../res']
|
||||
assets.srcDirs = ['../../assets', 'jni/gzdoom-g3.3mgw_mobile/fm_banks', 'jni/gzdoom-g3.3mgw_mobile/soundfont']
|
||||
}
|
||||
}
|
||||
minSdkVersion 24
|
||||
targetSdkVersion 26
|
||||
|
||||
// packagingOptions {
|
||||
// specify the path to your object binaries, or generally:
|
||||
// doNotStrip '**.so'
|
||||
// }
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
manifest.srcFile 'AndroidManifest.xml'
|
||||
java.srcDirs = ['../../java']
|
||||
jniLibs.srcDir 'libs'
|
||||
res.srcDirs = ['../../res']
|
||||
assets.srcDirs = ['../../assets', 'jni/gzdoom-g3.3mgw_mobile/fm_banks', 'jni/gzdoom-g3.3mgw_mobile/soundfont']
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility = '1.8'
|
||||
targetCompatibility = '1.8'
|
||||
}
|
||||
compileSdkVersion = 24
|
||||
buildToolsVersion = '29.0.1'
|
||||
/* buildTypes {
|
||||
release {
|
||||
debuggable true
|
||||
}
|
||||
}*/
|
||||
|
||||
ndkVersion = "21.4.7075529"
|
||||
|
||||
// buildTypes {
|
||||
// release {
|
||||
// debuggable true
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "com.android.support:support-compat:24.2.0"
|
||||
implementation "com.android.support:support-core-utils:24.2.0"
|
||||
implementation "com.android.support:support-compat:26.1.0"
|
||||
implementation "com.android.support:support-core-utils:26.1.0"
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
|
||||
}
|
||||
|
||||
|
@ -67,4 +67,6 @@ buildscript {
|
|||
repositories {
|
||||
google()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//tasks.register("prepareKotlinBuildScriptModel"){}
|
BIN
Projects/Android/gradle/wrapper/gradle-wrapper.jar
vendored
BIN
Projects/Android/gradle/wrapper/gradle-wrapper.jar
vendored
Binary file not shown.
|
@ -1,6 +1,6 @@
|
|||
#Sat Feb 20 22:20:15 GMT 2021
|
||||
#Fri Dec 23 16:20:08 KST 2022
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
|
||||
distributionPath=wrapper/dists
|
||||
zipStorePath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
|
Loading…
Reference in a new issue