-
Notifications
You must be signed in to change notification settings - Fork 5
/
settings.gradle.kts
51 lines (44 loc) · 1.37 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
rootProject.name = "koncat-root"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement {
val versions = file("deps.versions.toml").readText()
val regexPlaceHolder = "%s\\s\\=\\s\\\"([A-Za-z0-9\\.\\-]+)\\\""
val getVersion =
{ s: String -> regexPlaceHolder.format(s).toRegex().find(versions)!!.groupValues[1] }
plugins {
kotlin("jvm") version getVersion("kotlinVer") apply false
kotlin("plugin.serialization") version getVersion("kotlinVer") apply false
id("com.github.gmazzo.buildconfig") version getVersion("buildConfigVer") apply false
}
repositories {
mavenCentral()
google()
gradlePluginPortal()
mavenLocal()
}
}
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
mavenLocal()
}
versionCatalogs {
create("deps") {
from(files("./deps.versions.toml"))
}
}
}
include(
// Compile-Time components
":koncat-compile-contract",
":koncat-gradle-plugin",
":koncat-processor",
":koncat-processor-api",
// Runtime components
":koncat-runtime",
":koncat-runtime-model",
":koncat-runtime-stub", // A stub for runtime library to be used when released, later the generated class will replace it
// Functional test for all components including the sample
"functional-test"
)