godot/platform/android/build.gradle.template

87 lines
1.5 KiB
Plaintext
Raw Normal View History

buildscript {
repositories {
jcenter()
2019-03-18 23:23:30 +00:00
mavenCentral()
google()
}
dependencies {
2019-03-18 23:23:30 +00:00
classpath 'com.android.tools.build:gradle:3.3.2'
$$GRADLE_CLASSPATH$$
}
}
apply plugin: 'com.android.application'
allprojects {
2019-03-18 23:23:30 +00:00
repositories {
jcenter()
mavenCentral()
google()
$$GRADLE_REPOSITORY_URLS$$
}
}
dependencies {
2016-06-25 11:39:03 +00:00
$$GRADLE_DEPENDENCIES$$
}
android {
lintOptions {
abortOnError false
disable 'MissingTranslation'
}
2018-01-03 08:05:27 +00:00
compileSdkVersion 27
2019-03-18 23:23:30 +00:00
buildToolsVersion "28.0.3"
useLibrary 'org.apache.http.legacy'
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
}
defaultConfig {
$$GRADLE_DEFAULT_CONFIG$$
}
// Both signing and zip-aligning will be done at export time
buildTypes.all { buildType ->
buildType.zipAlignEnabled false
buildType.signingConfig null
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src'
2016-06-25 11:39:03 +00:00
$$GRADLE_JAVA_DIRS$$
]
res.srcDirs = [
'res'
2016-06-25 11:39:03 +00:00
$$GRADLE_RES_DIRS$$
]
aidl.srcDirs = [
'aidl'
2016-06-25 11:39:03 +00:00
$$GRADLE_AIDL_DIRS$$
]
assets.srcDirs = [
'assets'
2016-06-25 11:39:03 +00:00
$$GRADLE_ASSET_DIRS$$
]
}
debug.jniLibs.srcDirs = [
'libs/debug'
$$GRADLE_JNI_DIRS$$
]
release.jniLibs.srcDirs = [
'libs/release'
$$GRADLE_JNI_DIRS$$
]
}
2019-03-18 23:23:30 +00:00
// Undocumented; may break in a future Gradle version
applicationVariants.all { variant ->
2019-03-18 23:23:30 +00:00
variant.outputs.all {
outputFileName = "../../../../../../../bin/android_${variant.name}.apk"
}
}
}
$$GRADLE_PLUGINS$$