* Update to latest Android build tools ALooper_pollAll is deprecated * Update to latest Android build tools ALooper_pollAll is deprecated * Update to latest Android build tools Update manifests * Update to latest Android build tools ALooper_pollAll is deprecated * Update build instructions for Android
47 lines
No EOL
1.2 KiB
Groovy
47 lines
No EOL
1.2 KiB
Groovy
/**
|
|
* Copyright (C) 2016-2023 by Sascha Willems - www.saschawillems.de
|
|
*
|
|
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
|
|
*/
|
|
|
|
/** Top-level build file where you can add configuration options common to all sub-projects/modules */
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:8.7.0'
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
// This code is where all the magic happens and fixes the error.
|
|
subprojects {
|
|
afterEvaluate { project ->
|
|
if (project.hasProperty('android')) {
|
|
project.android {
|
|
if (namespace == null) {
|
|
namespace "de.saschawillems." + project.group
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
ext {
|
|
abiFilters = "arm64-v8a"
|
|
minSdkVersion = 21
|
|
targetSdkVersion = 26
|
|
compileSdkVersion = 26
|
|
shaderPath = '../../../shaders/'
|
|
assetPath = '../../../assets/'
|
|
} |