mainTemplate.gradle 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. apply plugin: 'com.android.library'
  2. apply from: '../shared/keepUnitySymbols.gradle'
  3. apply from: '../shared/common.gradle'
  4. **APPLY_PLUGINS**
  5. dependencies {
  6. implementation fileTree(dir: 'libs', include: ['*.jar'])
  7. // Android Resolver Dependencies Start
  8. implementation 'com.android.support:appcompat-v7:25.3.1' // Facebook.Unity.Editor.AndroidSupportLibraryResolver.addSupportLibraryDependency
  9. implementation 'com.android.support:cardview-v7:25.3.1' // Facebook.Unity.Editor.AndroidSupportLibraryResolver.addSupportLibraryDependency
  10. implementation 'com.android.support:customtabs:25.3.1' // Facebook.Unity.Editor.AndroidSupportLibraryResolver.addSupportLibraryDependency
  11. implementation 'com.android.support:support-v4:25.3.1' // Facebook.Unity.Editor.AndroidSupportLibraryResolver.addSupportLibraryDependency
  12. implementation 'com.facebook.android:facebook-applinks:[18.3.0,19)' // Packages/come.runtimes.hot/ThirdParty/FacebookSDK/Plugins/Editor/Dependencies.xml:6
  13. implementation 'com.facebook.android:facebook-core:[18.3.0,19)' // Packages/come.runtimes.hot/ThirdParty/FacebookSDK/Plugins/Editor/Dependencies.xml:5
  14. implementation 'com.facebook.android:facebook-gamingservices:[18.3.0,19)' // Packages/come.runtimes.hot/ThirdParty/FacebookSDK/Plugins/Editor/Dependencies.xml:9
  15. implementation 'com.facebook.android:facebook-login:[18.3.0,19)' // Packages/come.runtimes.hot/ThirdParty/FacebookSDK/Plugins/Editor/Dependencies.xml:7
  16. implementation 'com.facebook.android:facebook-share:[18.3.0,19)' // Packages/come.runtimes.hot/ThirdParty/FacebookSDK/Plugins/Editor/Dependencies.xml:8
  17. implementation 'com.parse.bolts:bolts-android:1.4.0' // Packages/come.runtimes.hot/ThirdParty/FacebookSDK/Plugins/Editor/Dependencies.xml:4
  18. // Android Resolver Dependencies End
  19. **DEPS**}
  20. // Android Resolver Exclusions Start
  21. android {
  22. packaging {
  23. exclude ('/lib/arm64-v8a/*' + '*')
  24. exclude ('/lib/armeabi/*' + '*')
  25. exclude ('/lib/mips/*' + '*')
  26. exclude ('/lib/mips64/*' + '*')
  27. exclude ('/lib/x86/*' + '*')
  28. exclude ('/lib/x86_64/*' + '*')
  29. }
  30. }
  31. // Android Resolver Exclusions End
  32. android {
  33. namespace "com.unity3d.player"
  34. ndkPath "**NDKPATH**"
  35. ndkVersion "**NDKVERSION**"
  36. compileSdk **APIVERSION**
  37. buildToolsVersion "**BUILDTOOLS**"
  38. compileOptions {
  39. sourceCompatibility JavaVersion.VERSION_17
  40. targetCompatibility JavaVersion.VERSION_17
  41. }
  42. defaultConfig {
  43. minSdk **MINSDK**
  44. targetSdk **TARGETSDK**
  45. ndk {
  46. abiFilters **ABIFILTERS**
  47. debugSymbolLevel **DEBUGSYMBOLLEVEL**
  48. }
  49. consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
  50. **DEFAULT_CONFIG_SETUP**
  51. }
  52. lint {
  53. abortOnError false
  54. }
  55. androidResources {
  56. noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ')
  57. ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~"
  58. }**PACKAGING**
  59. }
  60. **IL_CPP_BUILD_SETUP**
  61. **SOURCE_BUILD_SETUP**
  62. **EXTERNAL_SOURCES**