优化环境配置

This commit is contained in:
jk 2025-08-22 14:31:13 +08:00
parent b2872c7761
commit f97e9a6a22
2 changed files with 20 additions and 6 deletions

View File

@ -6,18 +6,25 @@ buildscript {
kotlin_version = '2.0.0' kotlin_version = '2.0.0'
} }
repositories { 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' }
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
google() google()
jcenter() jcenter()
maven { url 'https://www.jitpack.io' } maven { url 'https://www.jitpack.io' }
mavenCentral() mavenCentral()
maven { url 'https://repo1.maven.org/maven2/' } maven { url 'https://repo1.maven.org/maven2/' }
maven { url 'https://maven.aliyun.com/repository/public' }
//mintegral sdk依赖 mintegral sdk需要添加此maven //mintegral sdk依赖 mintegral sdk需要添加此maven
maven { url "https://dl-maven-android.mintegral.com/repository/mbridge_android_sdk_support/" } maven { url "https://dl-maven-android.mintegral.com/repository/mbridge_android_sdk_support/" }
maven { url "https://artifact.bytedance.com/repository/pangle" } maven { url "https://artifact.bytedance.com/repository/pangle" }
maven { url "https://maven.aliyun.com/repository/google" }
} }
dependencies { dependencies {
@ -35,6 +42,16 @@ buildscript {
allprojects { allprojects {
repositories { 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' }
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
google() google()
jcenter() jcenter()
maven { url 'https://www.jitpack.io' } maven { url 'https://www.jitpack.io' }
@ -44,9 +61,6 @@ allprojects {
maven { url 'https://repo1.maven.org/maven2/' } maven { url 'https://repo1.maven.org/maven2/' }
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url "https://maven.aliyun.com/repository/google" }
maven { maven {
url "http://124.221.136.193:3000/app-lib/JKBaseLib/raw/master/maven" url "http://124.221.136.193:3000/app-lib/JKBaseLib/raw/master/maven"
allowInsecureProtocol = true // HTTP allowInsecureProtocol = true // HTTP

View File

@ -1,6 +1,6 @@
#Mon May 19 09:37:38 CST 2025 #Mon May 19 09:37:38 CST 2025
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https://mirrors.aliyun.com/macports/distfiles/gradle/gradle-8.11.1-bin.zip