build.gradle 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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:8.7.1'
  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. // Add the following lines to include the Nexilis Security Shield repository into your app
  26. maven {
  27. url "https://nexilis.io/artifactory/security-libs/"
  28. credentials {
  29. username = "**REPLACE*WITH*YOUR*MAVEN*USERNAME**"
  30. password = "**REPLACE*WITH*YOUR*MAVEN*PASSWORD**"
  31. }
  32. }
  33. maven { url 'https://maven.google.com' }
  34. maven { url 'https://jitpack.io' }
  35. }
  36. }
  37. rootProject.buildDir = '../build'
  38. subprojects {
  39. project.buildDir = "${rootProject.buildDir}/${project.name}"
  40. }
  41. subprojects {
  42. project.evaluationDependsOn(':app')
  43. }
  44. tasks.register("clean", Delete) {
  45. delete rootProject.buildDir
  46. }