-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
68 lines (62 loc) · 2.03 KB
/
build.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
buildscript {
repositories {
mavenCentral()
}
}
repositories {
mavenCentral()
maven("https://maven.tryformation.com/releases") {
content {
includeGroup("com.jillesvangurp")
includeGroup("com.github.jillesvangurp")
includeGroup("com.tryformation")
includeGroup("com.tryformation.fritz2")
}
}
}
plugins {
kotlin("multiplatform")
kotlin("plugin.serialization")
}
kotlin {
js(IR) {
browser()
}.binaries.executable()
sourceSets {
all {
languageSettings.apply {
optIn("kotlin.ExperimentalStdlibApi")
}
}
commonMain {
dependencies {
implementation("dev.fritz2:core:_")
implementation("dev.fritz2:headless:_")
implementation("com.jillesvangurp:rankquest-core:_")
implementation("com.jillesvangurp:kotlinx-serialization-extensions:_")
implementation("com.github.jillesvangurp:querylight:_")
implementation("com.soywiz.korlibs.krypto:krypto:_")
implementation("org.jetbrains:markdown:_")
implementation("com.aallam.openai:openai-client:_")
implementation(KotlinX.serialization.json)
implementation(Koin.core)
}
}
jsMain {
dependencies {
// tailwind
implementation(npm("tailwindcss", "_"))
implementation(npm("@tailwindcss/forms", "_"))
// fluent-js
implementation("com.tryformation:fluent-kotlin:_")
// webpack
implementation(devNpm("postcss", "_"))
implementation(devNpm("postcss-loader", "_"))
implementation(devNpm("autoprefixer", "_"))
implementation(devNpm("css-loader", "_"))
implementation(devNpm("style-loader", "_"))
implementation(devNpm("cssnano", "_"))
}
}
}
}