powerfun-unity/Assets/Plugins/Android/mainTemplate.gradle

57 lines
1.8 KiB
Groovy
Raw Normal View History

2021-09-07 11:00:32 +08:00
// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
apply plugin: 'com.android.library'
**APPLY_PLUGINS**
dependencies {
2021-09-16 15:36:36 +08:00
implementation(name: 'UnityCallWechatShare-release', ext:'aar')
implementation files ("libs/unity-classes.jar")
implementation files ("libs/unityandroidbluetoothlelib.jar")
implementation files ('libs/PowerFunAndroidPlugin-release.aar')
2021-12-23 09:54:14 +08:00
implementation files ('libs/UniWebView.aar')
2021-12-23 15:36:11 +08:00
implementation files ('libs/facebook-android-wrapper-11.0.0.aar')
2021-12-24 13:58:14 +08:00
implementation 'com.facebook.android:facebook-android-sdk:[11,12)'
implementation ('com.mapbox.maps:android:10.2.0-beta.1'){
exclude group: 'group_name', module: 'module_name'
}
2022-01-07 11:05:32 +08:00
implementation 'com.google.android.gms:play-services-auth:20.0.0'
2021-09-07 11:00:32 +08:00
}
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**
task localizeAppName(type: Copy) {
from("${project.rootDir}/unityLibrary/unity-android-resources/res/") {
include "**/strings.xml"
}
into "${project.rootDir}/launcher/src/main/res"
}
preBuild.dependsOn(localizeAppName)