From 19107568ebe549fa9f0eec8c1e48038dd84a5172 Mon Sep 17 00:00:00 2001 From: Lihongda <963140097@qq.com> Date: Wed, 14 Feb 2024 15:27:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89local,=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E9=98=BF=E9=87=8C=E4=BA=91=E9=95=9C=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 8 ++++++++ iFish7/build.gradle | 4 ++-- local.properties | 8 -------- 3 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 local.properties 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