Created
February 8, 2019 02:54
-
-
Save RameshRavone/5debb9f48b369fc17ed6b0255ffb8f8d to your computer and use it in GitHub Desktop.
Godot 3.X build.gradle.template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| buildscript { | |
| repositories { | |
| google() | |
| jcenter() | |
| $$GRADLE_REPOSITORY_URLS$$ | |
| } | |
| dependencies { | |
| classpath 'com.android.tools.build:gradle:3.2.1' | |
| $$GRADLE_CLASSPATH$$ | |
| } | |
| } | |
| apply plugin: 'com.android.application' | |
| allprojects { | |
| repositories { | |
| mavenCentral() | |
| google() | |
| jcenter() | |
| $$GRADLE_REPOSITORY_URLS$$ | |
| } | |
| } | |
| dependencies { | |
| implementation "com.android.support:support-core-utils:28.0.0" | |
| $$GRADLE_DEPENDENCIES$$ | |
| } | |
| android { | |
| lintOptions { | |
| abortOnError false | |
| disable 'MissingTranslation','UnusedResources' | |
| } | |
| compileSdkVersion 28 | |
| 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' | |
| $$GRADLE_JAVA_DIRS$$ | |
| ] | |
| res.srcDirs = [ | |
| 'res' | |
| $$GRADLE_RES_DIRS$$ | |
| ] | |
| aidl.srcDirs = [ | |
| 'aidl' | |
| $$GRADLE_AIDL_DIRS$$ | |
| ] | |
| assets.srcDirs = [ | |
| 'assets' | |
| $$GRADLE_ASSET_DIRS$$ | |
| ] | |
| } | |
| debug.jniLibs.srcDirs = [ | |
| 'libs/debug' | |
| $$GRADLE_JNI_DIRS$$ | |
| ] | |
| release.jniLibs.srcDirs = [ | |
| 'libs/release' | |
| $$GRADLE_JNI_DIRS$$ | |
| ] | |
| } | |
| applicationVariants.all { variant -> | |
| variant.outputs.all { output -> | |
| output.outputFileName = "../../../../../../../bin/android_${variant.name}.apk" | |
| } | |
| } | |
| } | |
| $$GRADLE_PLUGINS$$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment