build.gradle 638 B

1234567891011121314151617181920212223242526272829303132
  1. buildscript {
  2. ext.kotlin_version = '1.6.0'
  3. repositories {
  4. google()
  5. mavenCentral()
  6. }
  7. dependencies {
  8. classpath 'com.android.tools.build:gradle:7.2.2'
  9. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  10. }
  11. }
  12. allprojects {
  13. repositories {
  14. google()
  15. mavenCentral()
  16. maven { url 'https://www.jitpack.io' }
  17. }
  18. }
  19. rootProject.buildDir = '../build'
  20. subprojects {
  21. project.buildDir = "${rootProject.buildDir}/${project.name}"
  22. }
  23. subprojects {
  24. project.evaluationDependsOn(':app')
  25. }
  26. task clean(type: Delete) {
  27. delete rootProject.buildDir
  28. }