74ec7a362b
- build.gradle format updates for newer Android Gradle Plugin - Remove hard coded Android Gradle Plugin version 3.6.4 to be passed in from command args - Set Android Gradle Plugin min version 4.2.0 in order to support Min CMake version 3.20 - Add ability to use the android sdk to install missing components if needed rather than doing it externally - Removed argument to pass in the NDK folder to use the android, use the android-sdk instead. Can request specific NDK versions if possible - Android Gradle Plugin has dependencies by version and is being managed - More defaults based on tools on path, agp version made possible so they are no longer needed in the command args
44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
//
|
|
// All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
|
|
// its licensors.
|
|
//
|
|
// For complete copyright and license terms please see the LICENSE at the root of this
|
|
// distribution (the "License"). All use of this software is governed by the License,
|
|
// or, if provided, by the license below or the license accompanying this file. Do not
|
|
// remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:${ANDROID_GRADLE_PLUGIN_VERSION}'
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
ext {
|
|
minSdkVer = ${MIN_SDK_VER}
|
|
sdkVer = ${SDK_VER}
|
|
ndkPlatformVer = '${NDK_VERSION}'
|
|
buildToolsVer = '${SDK_BUILD_TOOL_VER}'
|
|
lyEngineRoot = '${LY_ENGINE_ROOT}'
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|