设置 Gradle 编译时的本地 Maven 库路径
This commit is contained in:
parent
9bd4c41b75
commit
0a993ccb9b
@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Wed May 07 11:59:55 GMT 2025
|
||||
#Mon May 12 09:58:02 GMT 2025
|
||||
stageCount=1
|
||||
libraryProject=libaes
|
||||
baseVersion=15.6
|
||||
publishVersion=15.6.0
|
||||
buildCount=12
|
||||
buildCount=33
|
||||
baseBetaVersion=15.6.1
|
||||
|
25
build.gradle
25
build.gradle
@ -1,6 +1,10 @@
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenLocal {
|
||||
// 设置本地Maven仓库路径
|
||||
url 'file:///sdcard/.m2/repository/'
|
||||
}
|
||||
// Nexus Maven 库地址
|
||||
// "WinBoLL Release"
|
||||
maven { url "https://nexus.winboll.cc/repository/maven-public/" }
|
||||
@ -15,10 +19,10 @@ buildscript {
|
||||
maven { url "https://jitpack.io" }
|
||||
mavenCentral()
|
||||
google()
|
||||
println "mavenLocal : ==========="
|
||||
println mavenLocal().url
|
||||
println "mavenLocal : ==========="
|
||||
mavenLocal()
|
||||
//println "mavenLocal : ==========="
|
||||
//println mavenLocal().url
|
||||
//println "mavenLocal : ==========="
|
||||
//mavenLocal()
|
||||
|
||||
// WinBoLL.CC 紧急备用 Maven 仓库
|
||||
maven { url 'https://spare-maven.winboll.cc/repository/' }
|
||||
@ -32,6 +36,11 @@ buildscript {
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
mavenLocal {
|
||||
// 设置本地Maven仓库路径
|
||||
url 'file:///sdcard/.m2/repository/'
|
||||
}
|
||||
|
||||
// Nexus Maven 库地址
|
||||
// "WinBoLL Release"
|
||||
maven { url "https://nexus.winboll.cc/repository/maven-public/" }
|
||||
@ -46,10 +55,10 @@ allprojects {
|
||||
maven { url "https://jitpack.io" }
|
||||
mavenCentral()
|
||||
google()
|
||||
println "mavenLocal : ==========="
|
||||
println mavenLocal().url
|
||||
println "mavenLocal : ==========="
|
||||
mavenLocal()
|
||||
//println "mavenLocal : ==========="
|
||||
//println mavenLocal().url
|
||||
//println "mavenLocal : ==========="
|
||||
//mavenLocal()
|
||||
|
||||
// WinBoLL.CC 紧急备用 Maven 仓库
|
||||
maven { url 'https://spare-maven.winboll.cc/repository/' }
|
||||
|
@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Wed May 07 11:59:55 GMT 2025
|
||||
#Mon May 12 09:58:02 GMT 2025
|
||||
stageCount=1
|
||||
libraryProject=libaes
|
||||
baseVersion=15.6
|
||||
publishVersion=15.6.0
|
||||
buildCount=12
|
||||
buildCount=33
|
||||
baseBetaVersion=15.6.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user