76 lines
3.2 KiB
Groovy
76 lines
3.2 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply from: '../shared/keepUnitySymbols.gradle'
|
|
**APPLY_PLUGINS**
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
// Android Resolver Dependencies Start
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4' // Packages/com.google.ads.mobile/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:12
|
|
implementation 'com.google.ads.mediation:facebook:6.18.0.0' // Packages/com.google.ads.mobile.mediation.metaaudiencenetwork/source/plugin/Assets/GoogleMobileAds/Mediation/MetaAudienceNetwork/Editor/MetaAudienceNetworkMediationDependencies.xml:24
|
|
implementation 'com.google.ads.mediation:unity:4.12.3.0' // Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml:25
|
|
implementation 'com.google.android.gms:play-services-ads:23.6.0' // Packages/com.google.ads.mobile/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:7
|
|
implementation 'com.google.android.gms:play-services-auth:16+' // Assets/GoogleSignIn/Editor/GoogleSignInDependencies.xml:10
|
|
implementation 'com.google.android.ump:user-messaging-platform:3.1.0' // Packages/com.google.ads.mobile/GoogleMobileAds/Editor/GoogleUmpDependencies.xml:7
|
|
implementation 'com.google.games:gpgs-plugin-support:2.1.0' // Assets/GooglePlayGames/com.google.play.games/Editor/GooglePlayGamesPluginDependencies.xml:11
|
|
implementation 'com.google.signin:google-signin-support:1.0.4' // Assets/GoogleSignIn/Editor/GoogleSignInSupportDependencies.xml:9
|
|
implementation 'com.onestorecorp.sdk:sdk-iap:21.02.01' // Assets/OneStoreCorpPlugins/Purchase/Editor/PurchaseDependencies.xml:6
|
|
implementation 'com.onestorecorp.sdk:sdk-licensing:2.2.1' // Assets/OneStoreCorpPlugins/AppLicenseChecker/Editor/AppLicenseCheckerDependencies.xml:6
|
|
implementation 'com.unity3d.ads:unity-ads:4.12.3' // Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml:33
|
|
// Android Resolver Dependencies End
|
|
**DEPS**}
|
|
|
|
// Android Resolver Exclusions Start
|
|
android {
|
|
namespace "com.unity3d.player"
|
|
ndkVersion "**NDKVERSION**"
|
|
|
|
packaging {
|
|
jniLibs {
|
|
excludes += [
|
|
"/lib/armeabi/*",
|
|
"/lib/mips/*",
|
|
"/lib/mips64/*",
|
|
"/lib/x86/*",
|
|
"/lib/x86_64/*"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
// Android Resolver Exclusions End
|
|
|
|
android {
|
|
ndkPath "**NDKPATH**"
|
|
|
|
compileSdk **APIVERSION**
|
|
buildToolsVersion '**BUILDTOOLS**'
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdk **MINSDK**
|
|
targetSdk **TARGETSDK**
|
|
ndk {
|
|
debugSymbolLevel **DEBUGSYMBOLLEVEL**
|
|
abiFilters **ABIFILTERS**
|
|
}
|
|
versionCode **VERSIONCODE**
|
|
versionName '**VERSIONNAME**'
|
|
consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
|
|
}
|
|
|
|
lint {
|
|
abortOnError false
|
|
}
|
|
|
|
androidResources {
|
|
noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ')
|
|
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~"
|
|
}**PACKAGING**
|
|
}
|
|
|
|
**IL_CPP_BUILD_SETUP**
|
|
**SOURCE_BUILD_SETUP**
|
|
**EXTERNAL_SOURCES** |