build.gradle 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext {
  4. buildToolsVersion = "33.0.0"
  5. minSdkVersion = 23
  6. compileSdkVersion = 34
  7. targetSdkVersion = 34
  8. // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
  9. ndkVersion = "23.1.7779620"
  10. }
  11. repositories {
  12. google()
  13. mavenCentral()
  14. }
  15. dependencies {
  16. classpath("com.android.tools.build:gradle")
  17. classpath("com.facebook.react:react-native-gradle-plugin")
  18. }
  19. }
  20. allprojects {
  21. repositories {
  22. // Add the following lines to include the Nexilis UC repository into your app
  23. maven {
  24. url "https://nexilis.io/artifactory/nexilis-libs/"
  25. credentials {
  26. username = "***REPLACE***WITH***YOUR***MAVEN***USERNAME***"
  27. password = "***REPLACE***WITH***YOUR***MAVEN***PASSWORD***"
  28. }
  29. }
  30. // Add the following lines to include the Nexilis Security Shield repository into your app
  31. maven {
  32. url "https://nexilis.io/artifactory/security-libs/"
  33. credentials {
  34. username = "**REPLACE*WITH*YOUR*MAVEN*USERNAME**"
  35. password = "**REPLACE*WITH*YOUR*MAVEN*PASSWORD**"
  36. }
  37. }
  38. maven { url 'https://maven.google.com' }
  39. maven { url 'https://jitpack.io' }
  40. }
  41. }