-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
47 lines (42 loc) · 1.33 KB
/
Copy pathsettings.gradle.kts
File metadata and controls
47 lines (42 loc) · 1.33 KB
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
rootProject.name = "SVG-to-Compose-parent"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement {
includeBuild("build-logic")
repositories {
google()
gradlePluginPortal()
mavenCentral()
maven("https://s01.oss.sonatype.org/content/repositories/releases/")
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
}
dependencyResolutionManagement {
@Suppress("UnstableApiUsage")
repositories {
google()
mavenCentral()
}
}
include(
":docs",
":svg-to-compose",
":svg-to-compose-gradle-plugin",
":svg-to-compose-remote",
)
project(":svg-to-compose-remote").projectDir = file("modules/remote")
includeBuild("website")
includeBuild("modules/cli")
val localProperties = file("local.properties")
val linkPlaygrounds = if (localProperties.exists()) {
val properties = java.util.Properties()
localProperties.inputStream().use { properties.load(it) }
properties.getProperty("playground.enable", "true").toBoolean()
} else true
// Playground builds are only included when running as the root project
// (not when included by another build like modules/cli) and not in CI.
if (linkPlaygrounds && gradle.parent == null && System.getenv("CI") == null) {
includeBuild("playground")
includeBuild("playground-kmp")
}