去掉local,增加阿里云镜像

(cherry picked from commit 19107568eb)
This commit is contained in:
Lihongda 2024-02-14 15:27:00 +08:00
parent 304268fd8e
commit 3bf35ff5be
3 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,10 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
//
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
jcenter()
mavenCentral()
maven {url 'https://dl.google.com/dl/android/maven2/'}
@ -13,6 +17,10 @@ buildscript {
}
allprojects {
repositories {
//
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
jcenter()
mavenCentral()
maven {url 'https://dl.google.com/dl/android/maven2/'}

View File

@ -37,8 +37,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
applicationId "com.ifish.activity"
versionCode project.versionCode.toInteger()
versionName project.versionName
// versionCode project.versionCode.toInteger()
// versionName project.versionName
multiDexEnabled true
ndk {
abiFilters 'armeabi', 'arm64-v8a'

View File

@ -1,8 +0,0 @@
## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Mon Dec 25 04:52:45 CST 2023
sdk.dir=D\:\\developdada\\android\\SDK