-
Notifications
You must be signed in to change notification settings - Fork 3
/
settings.gradle.kts
71 lines (54 loc) · 2.76 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
60
61
62
63
64
65
66
67
68
69
70
71
rootProject.name = "kfc-plugins"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
dependencyResolutionManagement {
repositories {
mavenCentral()
}
versionCatalogs {
create("libs") {
val kotlinVersion = extra["kotlin.version"] as String
plugin("kotlin-multiplatform", "org.jetbrains.kotlin.multiplatform").version(kotlinVersion)
plugin("kotlin-jsPlainObjects", "org.jetbrains.kotlin.plugin.js-plain-objects").version(kotlinVersion)
library("kotlin-testJs", "org.jetbrains.kotlin", "kotlin-test-js").version(kotlinVersion)
val coroutinesVersion = extra["kotlinx-coroutines.version"] as String
library("coroutines-core", "org.jetbrains.kotlinx", "kotlinx-coroutines-core").version(coroutinesVersion)
library("coroutines-test", "org.jetbrains.kotlinx", "kotlinx-coroutines-test").version(coroutinesVersion)
val ktorVersion = extra["ktor.version"] as String
plugin("ktor", "io.ktor.plugin").version(ktorVersion)
library("server-core", "io.ktor", "ktor-server-core-jvm").version(ktorVersion)
library("server-netty", "io.ktor", "ktor-server-netty-jvm").version(ktorVersion)
library("server-html-builder", "io.ktor", "ktor-server-html-builder").version(ktorVersion)
val logbackVersion = extra["logback.version"] as String
library("logback", "ch.qos.logback", "logback-classic").version(logbackVersion)
}
create("kfc") {
val kfcVersion = "--predefined--"
plugin("application", "io.github.turansky.kfc.application").version(kfcVersion)
plugin("library", "io.github.turansky.kfc.library").version(kfcVersion)
plugin("worker", "io.github.turansky.kfc.worker").version(kfcVersion)
}
create("kotlinWrappers") {
val wrappersVersion = extra["kotlin-wrappers.version"] as String
from("org.jetbrains.kotlin-wrappers:kotlin-wrappers-catalog:$wrappersVersion")
}
}
}
include("examples:assets:lib")
include("examples:assets:lib-multiplatform")
include("examples:js-plain-object")
include("examples:resources:lib-a")
include("examples:resources:lib-b")
include("examples:resources:lib-c")
include("examples:resources:app-d")
include("examples:test-data:first")
include("examples:test-data:second")
include("examples:value-class")
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")
include("examples:vite-dev-with-ktor:ktor-app")
include("examples:vite-dev-with-ktor:vite-dev-app")
includeBuild("kfc")