-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsettings.gradle.kts
59 lines (51 loc) · 1.63 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
48
49
50
51
52
53
54
55
56
57
58
59
rootProject.name = "JsonSchema2DataClass"
pluginManagement {
includeBuild("internal")
}
plugins {
id("com.gradle.develocity") version "3.19"
id("org.jsonschema2dataclass.internal.settings-develocity")
}
enableFeaturePreviewQuietly("TYPESAFE_PROJECT_ACCESSORS", "Type-safe project accessors")
// Main plugin
include(":plugin-gradle:plugin")
// common interfaces
include(":plugin-gradle:common")
// Kotlin language compatibility along Gradle versions
include(":plugin-gradle:compat:kotlin")
// Gradle plugin compatibility
include(":plugin-gradle:compat:android")
include(":plugin-gradle:compat:agp34")
include(":plugin-gradle:compat:java")
include(":plugin-gradle:compat:agp7")
// processors:
include(":plugin-gradle:processors:jsonschema2pojo")
@Suppress("UnstableApiUsage")
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google().content {
includeGroup("com.android")
includeGroup("android.arch.lifecycle")
includeGroup("android.arch.core")
includeGroupByRegex("com\\.android\\..*")
includeGroupByRegex("com\\.google\\..*")
includeGroupByRegex("androidx\\..*")
}
mavenCentral()
}
versionCatalogs {
create("agp") {
from(files("gradle/agp.dependencies.toml"))
}
create("libs") {
from(files("gradle/libs.dependencies.toml"))
}
create("processors") {
from(files("gradle/processors.toml"))
}
create("pluginDeps") {
from(files("gradle/plugins.dependencies.toml"))
}
}
}