build.gradle 758 B

123456789101112131415161718192021222324252627282930313233
  1. ext {
  2. targetCompatibility = JavaVersion.VERSION_1_8
  3. }// Top-level build file where you can add configuration options common to all sub-projects/modules.
  4. buildscript {
  5. ext {
  6. agp_version = '7.4.2'
  7. agp_version1 = '4.2.2'
  8. agp_version2 = '3.6.2'
  9. }
  10. repositories {
  11. jcenter()
  12. google()
  13. }
  14. dependencies {
  15. classpath "com.android.tools.build:gradle:$agp_version2"
  16. classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
  17. classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
  18. }
  19. }
  20. allprojects {
  21. repositories {
  22. jcenter()
  23. google()
  24. maven { url 'https://jitpack.io' }
  25. }
  26. }
  27. task clean(type: Delete) {
  28. delete rootProject.buildDir
  29. }