baseProjectTemplate.gradle 1.3 KB

1234567891011121314151617181920212223242526272829303132
  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:4.0.1'
  14. classpath 'com.android.tools.build:gradle:3.4.1'
  15. **BUILD_SCRIPT_DEPS**
  16. }
  17. }
  18. repositories {**ARTIFACTORYREPOSITORY**
  19. google()
  20. jcenter()
  21. flatDir {
  22. dirs "${project(':unityLibrary').projectDir}/libs"
  23. }
  24. }
  25. }
  26. task clean(type: Delete) {
  27. delete rootProject.buildDir
  28. }