baseProjectTemplate.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. plugins {
  2. // If you are changing the Android Gradle Plugin version, make sure it is compatible with the Gradle version preinstalled with Unity
  3. // See which Gradle version is preinstalled with Unity here https://docs.unity3d.com/Manual/android-gradle-overview.html
  4. // See official Gradle and Android Gradle Plugin compatibility table here https://developer.android.com/studio/releases/gradle-plugin#updating-gradle
  5. // To specify a custom Gradle version in Unity, go do "Preferences > External Tools", uncheck "Gradle Installed with Unity (recommended)" and specify a path to a custom Gradle version
  6. id 'com.android.application' version '7.1.2' apply false
  7. id 'com.android.library' version '7.1.2' apply false
  8. id 'com.google.gms.google-services' version '4.3.15'
  9. id 'com.google.firebase.crashlytics' version '2.9.5'
  10. **BUILD_SCRIPT_DEPS**
  11. }
  12. repositories {
  13. google()
  14. jcenter()
  15. maven {
  16. url 'https://artifact.bytedance.com/repository/pangle'
  17. }
  18. maven {
  19. url "https://maven.google.com"
  20. }
  21. maven {
  22. url "https://sdk.tapjoy.com/"
  23. }
  24. maven {
  25. url 'https://android-sdk.is.com/'
  26. }
  27. mavenLocal()
  28. mavenCentral()
  29. }
  30. task clean(type: Delete) {
  31. delete rootProject.buildDir
  32. }