diff --git a/build.gradle b/build.gradle index 6c08ea27d..5f6507431 100644 --- a/build.gradle +++ b/build.gradle @@ -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/'} diff --git a/iFish7/build.gradle b/iFish7/build.gradle index 11f22f90d..10688ebb0 100644 --- a/iFish7/build.gradle +++ b/iFish7/build.gradle @@ -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' diff --git a/local.properties b/local.properties deleted file mode 100644 index 8b4d2481b..000000000 --- a/local.properties +++ /dev/null @@ -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