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.
CrowdControl/Assets/Plugins/Android/mainTemplate.gradle

78 lines
2.0 KiB
Groovy

2 weeks ago
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2' // Updated AGP
classpath 'com.google.gms:google-services:4.3.15' // For Firebase
}
}
7 months ago
apply plugin: 'com.android.library'
**APPLY_PLUGINS**
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
2 weeks ago
// Google Sign-In
implementation 'com.google.android.gms:play-services-auth:20.7.0'
implementation 'com.google.android.gms:play-services-base:18.2.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.browser:browser:1.5.0'
**DEPS**
7 months ago
}
2 weeks ago
7 months ago
android {
namespace "com.unity3d.player"
7 months ago
ndkPath "**NDKPATH**"
2 weeks ago
compileSdkVersion 34
buildToolsVersion '34.0.0'
7 months ago
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
defaultConfig {
minSdkVersion **MINSDKVERSION**
2 weeks ago
targetSdkVersion 34
7 months ago
ndk {
abiFilters **ABIFILTERS**
}
versionCode **VERSIONCODE**
versionName '**VERSIONNAME**'
consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
}
lintOptions {
abortOnError false
}
aaptOptions {
2 weeks ago
// Updated noCompress property
noCompress = ['.unity3d', '.ress', '.resource', '.obb', '.bundle', '.xap'] + unityStreamingAssets.tokenize(', ')
7 months ago
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~"
2 weeks ago
}
packagingOptions {
pickFirst '**/libc++_shared.so'
}
}
// Android Resolver Exclusions Start
android {
packagingOptions {
exclude ('/lib/armeabi/*' + '*')
exclude ('/lib/mips/*' + '*')
exclude ('/lib/mips64/*' + '*')
exclude ('/lib/x86/*' + '*')
exclude ('/lib/x86_64/*' + '*')
}
7 months ago
}
2 weeks ago
// Android Resolver Exclusions End
7 months ago
**IL_CPP_BUILD_SETUP**
**SOURCE_BUILD_SETUP**
2 weeks ago
**EXTERNAL_SOURCES**