You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
3.1 KiB
Groovy
78 lines
3.1 KiB
Groovy
apply plugin: 'com.android.library'
|
|
**APPLY_PLUGINS**
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven { url 'https://plugins.gradle.org/m2/' }
|
|
maven { url "https://onesignal.jfrog.io/artifactory/onesignal-gradle-plugin" }
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
// Android Resolver Dependencies Start
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4' // Assets/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:12
|
|
implementation 'com.google.android.gms:play-services-ads:23.2.0' // Assets/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:7
|
|
implementation 'com.google.android.gms:play-services-auth:20+' // Assets/GoogleSignIn/Editor/GoogleSignInDependencies.xml:10
|
|
implementation 'com.google.android.gms:play-services-base:18.6.0' // Assets/Firebase/Editor/AppDependencies.xml:17
|
|
implementation 'com.google.android.ump:user-messaging-platform:2.2.0' // Assets/GoogleMobileAds/Editor/GoogleUmpDependencies.xml:7
|
|
implementation 'com.google.firebase:firebase-analytics:22.4.0' // Assets/Firebase/Editor/AuthDependencies.xml:15
|
|
implementation 'com.google.firebase:firebase-app-unity:12.8.0' // Assets/Firebase/Editor/AppDependencies.xml:22
|
|
implementation 'com.google.firebase:firebase-auth:23.2.0' // Assets/Firebase/Editor/AuthDependencies.xml:13
|
|
implementation 'com.google.firebase:firebase-auth-unity:12.8.0' // Assets/Firebase/Editor/AuthDependencies.xml:20
|
|
implementation 'com.google.firebase:firebase-common:21.0.0' // Assets/Firebase/Editor/AppDependencies.xml:13
|
|
implementation 'com.google.signin:google-signin-support:1.0.4' // Assets/GoogleSignIn/Editor/GoogleSignInSupportDependencies.xml:9
|
|
implementation 'com.onesignal:OneSignal:5.1.26' // Packages/com.onesignal.unity.android/Editor/OneSignalAndroidDependencies.xml:6
|
|
// Android Resolver Dependencies End
|
|
**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 {
|
|
namespace "com.unity3d.player"
|
|
ndkPath "**NDKPATH**"
|
|
compileSdkVersion **APIVERSION**
|
|
buildToolsVersion '**BUILDTOOLS**'
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
|
|
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**
|
|
}
|
|
|
|
**IL_CPP_BUILD_SETUP**
|
|
**SOURCE_BUILD_SETUP**
|
|
**EXTERNAL_SOURCES**
|