67 lines
1.9 KiB
Groovy
67 lines
1.9 KiB
Groovy
|
// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
|
||
|
|
||
|
// Android Resolver Repos Start
|
||
|
([rootProject] + (rootProject.subprojects as List)).each { project ->
|
||
|
project.repositories {
|
||
|
def unityProjectPath = $/file:///**DIR_UNITYPROJECT**/$.replace("\\", "/")
|
||
|
maven {
|
||
|
url "https://maven.google.com"
|
||
|
}
|
||
|
mavenLocal()
|
||
|
jcenter()
|
||
|
mavenCentral()
|
||
|
}
|
||
|
}
|
||
|
// Android Resolver Repos End
|
||
|
apply plugin: 'com.android.library'
|
||
|
**APPLY_PLUGINS**
|
||
|
|
||
|
dependencies {
|
||
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||
|
|
||
|
implementation 'com.google.android.gms:play-services-basement:17.3.0'
|
||
|
implementation 'com.google.android.gms:play-services-ads-identifier:17.0.0'
|
||
|
implementation 'com.android.installreferrer:installreferrer:1.1.2'
|
||
|
**DEPS**}
|
||
|
|
||
|
// Android Resolver Exclusions Start
|
||
|
android {
|
||
|
packagingOptions {
|
||
|
exclude ('/lib/armeabi/*' + '*')
|
||
|
exclude ('/lib/mips/*' + '*')
|
||
|
exclude ('/lib/mips64/*' + '*')
|
||
|
exclude ('/lib/x86/*' + '*')
|
||
|
exclude ('/lib/x86_64/*' + '*')
|
||
|
}
|
||
|
}
|
||
|
// Android Resolver Exclusions End
|
||
|
android {
|
||
|
compileSdkVersion **APIVERSION**
|
||
|
buildToolsVersion '**BUILDTOOLS**'
|
||
|
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||
|
targetCompatibility JavaVersion.VERSION_1_8
|
||
|
}
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdkVersion **MINSDKVERSION**
|
||
|
targetSdkVersion **TARGETSDKVERSION**
|
||
|
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**
|