-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsettings.gradle.kts
45 lines (37 loc) · 1.04 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
pluginManagement {
includeBuild("build-support")
//region TODO: Move this to build-support
val file: File = file("gradle.properties")
val properties = java.util.Properties()
file.inputStream().use {
properties.load(it)
}
properties.forEach { (key, value) ->
extra[key.toString()] = value
}
//endregion
repositories {
mavenCentral()
// KSP:
google()
// buildconfig plugin:
gradlePluginPortal()
if (extra.has("kotlin_dev_repository")) {
val kotlinDevRepository = extra["kotlin_dev_repository"]!!
logger.lifecycle("Adding <$kotlinDevRepository> repository for plugins")
maven { url = uri(kotlinDevRepository) }
}
}
}
plugins {
id("dev.drewhamilton.poko.settings")
id("org.gradle.toolchains.foojay-resolver-convention") version "0.9.0"
}
rootProject.name = "Poko"
include(
":poko-compiler-plugin",
":poko-annotations",
":poko-gradle-plugin",
":poko-tests",
":poko-tests:performance",
)