baseProjectTemplate.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. // GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
  2. allprojects {
  3. buildscript {
  4. repositories {**ARTIFACTORYREPOSITORY**
  5. google()
  6. jcenter()
  7. }
  8. dependencies {
  9. // If you are changing the Android Gradle Plugin version, make sure it is compatible with the Gradle version preinstalled with Unity
  10. // See which Gradle version is preinstalled with Unity here https://docs.unity3d.com/Manual/android-gradle-overview.html
  11. // See official Gradle and Android Gradle Plugin compatibility table here https://developer.android.com/studio/releases/gradle-plugin#updating-gradle
  12. // 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
  13. classpath 'com.android.tools.build:gradle:3.4.0'
  14. **BUILD_SCRIPT_DEPS**
  15. }
  16. }
  17. repositories {**ARTIFACTORYREPOSITORY**
  18. google()
  19. jcenter()
  20. flatDir {
  21. dirs "${project(':unityLibrary').projectDir}/libs"
  22. }
  23. }
  24. }
  25. task clean(type: Delete) {
  26. delete rootProject.buildDir
  27. }