| 1234567891011121314151617181920212223242526272829303132 |
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- buildscript {
- ext {
- versionName = "4.2.1" //★★★★★版本号★★★★★
- buildToolsVersion = "36.1.0"
- minSdkVersion = 24
- compileSdkVersion = 36
- targetSdkVersion = 36
- kotlinVersion = "2.0.21"
- playServicesVersion = "17.0.0"
- firebaseMessagingVersion = "21.1.0"
- // NDK r27+ 支持 16KB 页面大小
- ndkVersion = "27.1.12297006"
- }
- repositories {
- // 阿里云镜像加速
- maven { url 'https://maven.aliyun.com/repository/google' }
- maven { url 'https://maven.aliyun.com/repository/central' }
- maven { url 'https://maven.aliyun.com/repository/public' }
- google()
- mavenCentral()
- }
- dependencies {
- classpath("com.android.tools.build:gradle:8.9.1")
- classpath("com.facebook.react:react-native-gradle-plugin")
- classpath("com.google.gms:google-services:4.3.15")
- classpath("com.google.firebase:firebase-crashlytics-gradle:2.9.9")
- classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
- }
- }
- apply plugin: "com.facebook.react.rootproject"
|