You've already forked Commercialization.topon
76 lines
2.6 KiB
Groovy
76 lines
2.6 KiB
Groovy
// 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"
|
|
}
|
|
maven {
|
|
url "https://artifact.bytedance.com/repository/pangle" // Assets/AnyThinkAds/Plugins/Android/China/Editor/Gromore/Dependencies.xml:6
|
|
}
|
|
maven {
|
|
url "https://jfrog.anythinktech.com/artifactory/debugger" // Assets/Topon_Adapter/Editor/ToponTestDependencies.xml:6
|
|
}
|
|
mavenLocal()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
// Android Resolver Repos End
|
|
apply plugin: 'com.android.library'
|
|
**APPLY_PLUGINS**
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
// Android Resolver Dependencies Start
|
|
implementation 'com.android.support:appcompat-v7:28.0.0' // Assets/AnyThinkAds/Plugins/Android/China/Editor/Dependencies.xml:3
|
|
implementation 'com.anythink.sdk:debugger-ui:1.0.0' // Assets/Topon_Adapter/Editor/ToponTestDependencies.xml:8
|
|
implementation 'com.pangle.cn:mediation-sdk:5.6.1.6' // Assets/AnyThinkAds/Plugins/Android/China/Editor/Gromore/Dependencies.xml:8
|
|
implementation 'com.tencent.mm.opensdk:wechat-sdk-android:6.8.0' // Assets/Topon_Adapter/Editor/WXDependencies.xml:3
|
|
// Android Resolver Dependencies End
|
|
**DEPS**}
|
|
|
|
// Android Resolver Exclusions Start
|
|
android {
|
|
packagingOptions {
|
|
exclude ('/lib/arm64-v8a/*' + '*')
|
|
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 {
|
|
noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ')
|
|
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
|
|
}**PACKAGING_OPTIONS**
|
|
}**REPOSITORIES**
|
|
**IL_CPP_BUILD_SETUP**
|
|
**SOURCE_BUILD_SETUP**
|
|
**EXTERNAL_SOURCES**
|