Compare commits
1 Commits
main
...
chinese-gr
Author | SHA1 | Date | |
---|---|---|---|
aa51d442e7 |
@ -1,6 +1,3 @@
|
|||||||
# Minimum React Native Project
|
|
||||||
|
|
||||||
minimum-reproducible-code-for-react-native
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# build apk
|
# build apk
|
||||||
|
@ -81,10 +81,6 @@ android {
|
|||||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
ndk {
|
|
||||||
// 指定 universalApk 中要包含的 ABIs
|
|
||||||
abiFilters "arm64-v8a"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
debug {
|
debug {
|
||||||
|
@ -8,8 +8,37 @@ buildscript {
|
|||||||
kotlinVersion = "1.8.0"
|
kotlinVersion = "1.8.0"
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
|
/**
|
||||||
|
* google
|
||||||
|
*/
|
||||||
|
maven { url "https://maven.aliyun.com/repository/google" }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gradle-plugin
|
||||||
|
* 源地址: https://plugins.gradle.org/m2/
|
||||||
|
*/
|
||||||
|
maven { url "https://maven.aliyun.com/repository/gradle-plugin" }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* central仓和jcenter仓的聚合仓
|
||||||
|
* 阿里云仓库地址(老版): https://maven.aliyun.com/nexus/content/groups/public/
|
||||||
|
*/
|
||||||
|
maven { url "https://maven.aliyun.com/repository/public" }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* central
|
||||||
|
* 源地址: https://repo1.maven.org/maven2/
|
||||||
|
*/
|
||||||
|
maven { url "https://maven.aliyun.com/repository/central" }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* jcenter
|
||||||
|
*/
|
||||||
|
maven { url "https://maven.aliyun.com/repository/jcenter" }
|
||||||
|
|
||||||
|
// 原始
|
||||||
google()
|
google()
|
||||||
mavenCentral()
|
// mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("com.android.tools.build:gradle")
|
classpath("com.android.tools.build:gradle")
|
||||||
@ -19,3 +48,13 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: "com.facebook.react.rootproject"
|
apply plugin: "com.facebook.react.rootproject"
|
||||||
|
|
||||||
|
allprojects {
|
||||||
|
repositories {
|
||||||
|
maven { url "https://maven.aliyun.com/repository/google" }
|
||||||
|
maven { url "https://maven.aliyun.com/repository/gradle-plugin" }
|
||||||
|
maven { url "https://maven.aliyun.com/repository/public" }
|
||||||
|
maven { url "https://maven.aliyun.com/repository/central" }
|
||||||
|
maven { url "https://maven.aliyun.com/repository/jcenter" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
|
distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-8.3-all.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
Loading…
Reference in New Issue
Block a user