forked from BiliRoamingX/BiliRoamingX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
47 lines (42 loc) · 1.23 KB
/
settings.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@file:Suppress("UnstableApiUsage")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement {
includeBuild("build-logic")
repositories {
google()
mavenCentral()
mavenLocal()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS
val gprUser = settings.providers.gradleProperty("gpr.user")
val gprKey = settings.providers.gradleProperty("gpr.key")
repositories {
mavenCentral()
mavenLocal()
google()
maven { url = uri("https://jitpack.io") }
maven {
// A repository must be specified for some reason. "registry" is a dummy.
url = uri("https://maven.pkg.github.com/zjns/registry")
credentials {
username = gprUser.orNull ?: System.getenv("GITHUB_ACTOR")
password = gprKey.orNull ?: System.getenv("GITHUB_TOKEN")
}
}
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}
include(
":integrations:app",
":integrations:dummy",
":integrations:extend",
":integrations:ksp",
":integrations",
":patches"
)
rootProject.name = "BiliRoamingX"