build.gradle 904 B

123456789101112131415161718192021222324252627
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext {
  4. versionName = "4.0.0" //★★★★★版本号★★★★★
  5. buildToolsVersion = "35.0.1"
  6. minSdkVersion = 24
  7. compileSdkVersion = 35
  8. targetSdkVersion = 35
  9. kotlinVersion = "2.0.21"
  10. playServicesVersion = "17.0.0"
  11. firebaseMessagingVersion = "21.1.0"
  12. // NDK r27+ 支持 16KB 页面大小
  13. ndkVersion = "27.1.12297006"
  14. }
  15. repositories {
  16. google()
  17. mavenCentral()
  18. }
  19. dependencies {
  20. classpath("com.android.tools.build:gradle")
  21. classpath("com.facebook.react:react-native-gradle-plugin")
  22. classpath("com.google.gms:google-services:4.4.2")
  23. classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
  24. }
  25. }
  26. apply plugin: "com.facebook.react.rootproject"