-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
50 lines (37 loc) · 1.38 KB
/
settings.gradle.kts
File metadata and controls
50 lines (37 loc) · 1.38 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
48
49
50
import org.gradle.api.internal.catalog.DefaultVersionCatalogBuilder
rootProject.name = "kfc-plugins"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
dependencyResolutionManagement {
repositories {
mavenCentral()
}
versionCatalogs {
create("kfc") {
val kfcVersion = "--predefined--"
plugin("application", "io.github.turansky.kfc.application").version(kfcVersion)
plugin("library", "io.github.turansky.kfc.library").version(kfcVersion)
}
register("kotlinWrappers") {
val kotlinWrappersCatalog = named("libs")
.map { it as DefaultVersionCatalogBuilder }
.map { it.build() }
.map { it.getDependencyData("catalogs.kotlinWrappers") }
.map { "${it.group}:${it.name}:${it.version}" }
.get()
from(kotlinWrappersCatalog)
}
}
}
includeBuild("build-logic")
include("examples:ecma")
include("examples:js-plain-object")
include("examples:single-file-app")
include("examples:test-data:first")
include("examples:test-data:second")
include("examples:vite-build:custom-config")
include("examples:vite-build:simple-app-test")
include("examples:vite-build:simple-library")
include("examples:vite-build:simple-vite-app")
include("examples:vite-dev")
includeBuild("kfc")