58 lines
2.0 KiB
Groovy
58 lines
2.0 KiB
Groovy
pluginManagement {
|
|
repositories {
|
|
google {
|
|
content {
|
|
includeGroupByRegex("com\\.android.*")
|
|
includeGroupByRegex("com\\.google.*")
|
|
includeGroupByRegex("androidx.*")
|
|
}
|
|
}
|
|
//原仓库
|
|
gradlePluginPortal()
|
|
mavenCentral()
|
|
//镜像仓库,无法连接源仓库自行启用镜像仓库,不要提交修改
|
|
//maven { url "https://maven-central-asia.storage-download.googleapis.com/maven2/" }
|
|
//maven { url 'https://maven.aliyun.com/repository/google' }
|
|
//maven { url 'https://maven.aliyun.com/repository/public' }
|
|
//maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
|
|
//maven { url 'https://repo.huaweicloud.com/repository/maven/' }
|
|
}
|
|
}
|
|
plugins {
|
|
id 'org.gradle.toolchains.foojay-resolver-convention' version '1.0.0'
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
//原仓库
|
|
google {
|
|
content {
|
|
includeGroupByRegex("com\\.android.*")
|
|
includeGroupByRegex("com\\.google.*")
|
|
includeGroupByRegex("androidx.*")
|
|
}
|
|
}
|
|
maven {
|
|
url = uri("https://jitpack.io")
|
|
content {
|
|
includeGroupByRegex("com\\.github.*")
|
|
}
|
|
}
|
|
mavenCentral()
|
|
|
|
//镜像仓库,无法连接源仓库自行启用镜像仓库,不要提交修改
|
|
//maven { url "https://maven-central-asia.storage-download.googleapis.com/maven2/" }
|
|
//maven { url 'https://maven.aliyun.com/repository/google' }
|
|
//maven { url 'https://maven.aliyun.com/repository/public' }
|
|
//maven { url 'https://repo.huaweicloud.com/repository/maven/' }
|
|
}
|
|
}
|
|
rootProject.name = 'legado'
|
|
|
|
include ':app'
|
|
include ':modules:book'
|
|
include ':modules:rhino'
|
|
include ':baselineprofile'
|
|
project(':baselineprofile').projectDir = file('baselineProfile')
|