build.gradle 859 B

1234567891011121314151617181920212223242526272829303132
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. google()
  5. jcenter()
  6. }
  7. apply from: 'config/config.gradle'
  8. dependencies {
  9. classpath 'com.android.tools.build:gradle:8.6.0'
  10. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${env.kotlin_version}"
  11. // NOTE: Do not place your application dependencies here; they belong
  12. // in the individual module build.gradle files
  13. }
  14. }
  15. allprojects {
  16. repositories {
  17. google()
  18. jcenter()
  19. maven { url 'https://jitpack.io' }
  20. maven { url "https://maven.mozilla.org/maven2/" }
  21. }
  22. apply plugin: 'idea'
  23. buildDir = new File(rootDir, "gradle-build/${path.replaceAll(':', '/')}")
  24. }
  25. task clean(type: Delete) {
  26. delete rootProject.buildDir
  27. }