67 lines
2.1 KiB
Groovy
67 lines
2.1 KiB
Groovy
|
// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
|
||
|
|
||
|
buildscript {
|
||
|
repositories {**ARTIFACTORYREPOSITORY**
|
||
|
google()
|
||
|
jcenter()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
// If you are changing the Android Gradle Plugin version, make sure it is compatible with the Gradle version preinstalled with Unity
|
||
|
// See which Gradle version is preinstalled with Unity here https://docs.unity3d.com/Manual/android-gradle-overview.html
|
||
|
// See official Gradle and Android Gradle Plugin compatibility table here https://developer.android.com/studio/releases/gradle-plugin#updating-gradle
|
||
|
// To specify a custom Gradle version in Unity, go do "Preferences > External Tools", uncheck "Gradle Installed with Unity (recommended)" and specify a path to a custom Gradle version
|
||
|
classpath 'com.android.tools.build:gradle:%(ANDROID_GRADLE_PLUGIN_VERSION)%'
|
||
|
**BUILD_SCRIPT_DEPS**
|
||
|
}
|
||
|
}
|
||
|
|
||
|
allprojects {
|
||
|
repositories {**ARTIFACTORYREPOSITORY**
|
||
|
google()
|
||
|
jcenter()
|
||
|
flatDir {
|
||
|
dirs "${project(':unityLibrary').projectDir}/libs"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
apply plugin: 'com.android.application'
|
||
|
|
||
|
dependencies {
|
||
|
//Manually added: multidex
|
||
|
implementation 'androidx.multidex:multidex:2.0.0'
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion **APIVERSION**
|
||
|
buildToolsVersion '**BUILDTOOLS**'
|
||
|
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||
|
targetCompatibility JavaVersion.VERSION_1_8
|
||
|
}
|
||
|
|
||
|
defaultConfig {
|
||
|
multiDexEnabled true
|
||
|
minSdkVersion **MINSDKVERSION**
|
||
|
targetSdkVersion **TARGETSDKVERSION**
|
||
|
applicationId '**APPLICATIONID**'
|
||
|
ndk {
|
||
|
abiFilters **ABIFILTERS**
|
||
|
}
|
||
|
versionCode **VERSIONCODE**
|
||
|
versionName '**VERSIONNAME**'
|
||
|
consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
|
||
|
}
|
||
|
|
||
|
lintOptions {
|
||
|
abortOnError false
|
||
|
}
|
||
|
|
||
|
aaptOptions {
|
||
|
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
|
||
|
}**PACKAGING_OPTIONS**
|
||
|
}**REPOSITORIES****SOURCE_BUILD_SETUP**
|
||
|
**EXTERNAL_SOURCES**
|