build.gradle 948 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. buildscript {
  2. ext {
  3. buildToolsVersion = "34.0.0"
  4. minSdkVersion = 21
  5. compileSdkVersion = 34
  6. targetSdkVersion = 34
  7. kotlinVersion = "1.8.0"
  8. ndkVersion = "23.1.7779620"
  9. // if (System.properties['os.arch'] == "aarch64") {
  10. // // For M1 Users we need to use the NDK 24 which added support for aarch64
  11. // ndkVersion = "24.0.8215888"
  12. // } else {
  13. // // Otherwise we default to the side-by-side NDK version from AGP.
  14. // ndkVersion = "21.4.7075529"
  15. // }
  16. }
  17. repositories {
  18. google()
  19. mavenCentral()
  20. }
  21. dependencies {
  22. classpath("com.android.tools.build:gradle")
  23. classpath("com.facebook.react:react-native-gradle-plugin")
  24. classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
  25. }
  26. }
  27. allprojects {
  28. repositories {
  29. google()
  30. mavenCentral()
  31. maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
  32. }
  33. }
  34. apply plugin: "com.facebook.react.rootproject"