build.gradle 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. buildscript {
  2. ext.kotlin_version = '1.7.10'
  3. repositories {
  4. google()
  5. mavenCentral()
  6. }
  7. dependencies {
  8. classpath 'com.android.tools.build:gradle:7.3.0'
  9. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  10. }
  11. }
  12. allprojects {
  13. repositories {
  14. google()
  15. mavenCentral()
  16. jcenter()
  17. // Add the following lines to include the Nexilis repository into your app
  18. maven {
  19. url "https://nexilis.io/artifactory/nexilis-libs/"
  20. credentials {
  21. username = "***REPLACE***WITH***YOUR***MAVEN***USERNAME***"
  22. password = "***REPLACE***WITH***YOUR***MAVEN***PASSWORD***"
  23. }
  24. }
  25. maven { url 'https://maven.google.com' }
  26. maven { url 'https://jitpack.io' }
  27. }
  28. }
  29. rootProject.buildDir = '../build'
  30. subprojects {
  31. project.buildDir = "${rootProject.buildDir}/${project.name}"
  32. }
  33. subprojects {
  34. project.evaluationDependsOn(':app')
  35. }
  36. tasks.register("clean", Delete) {
  37. delete rootProject.buildDir
  38. }