使用 PkgPub
在 maven 仓库列表中添加 回忆溢出工作组 的仓库以使用其依赖
引入依赖源
- Groovy
- Kotlin
buildscript {
repositories {
maven {
url 'https://oom-maven.sawahara.host'
content {
includeGroupByRegex 'ren\.shiror.*'
includeGroupByRegex 'dev\.oom-wg.*'
}
}
}
}
dependencyResolutionManagement {
repositories {
maven {
url 'https://oom-maven.sawahara.host'
content {
includeGroupByRegex 'ren\.shiror.*'
includeGroupByRegex 'dev\.oom-wg.*'
}
}
}
}
dependencyResolutionManagement {
maven("https://oom-maven.sawahara.host") {
content {
includeGroupByRegex("ren\.shiror.*")
includeGroupByRegex("dev\.oom-wg.*")
}
}
}
镜像源
目前有如下源:
https://oom-maven.sawahara.host: EdgeOne Pages (全球,包括中国大陆)https://maven.oom-wg.dev: GitHub Pageshttps://raw.githubusercontent.com/OOM-WG/PureJoy/maven: GitHub