blob: a5fd1df24a954e435c7c275dd3e2e3742836cfc7 (
plain)
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
|
plugins {
kotlin("js") version "1.7.10"
}
allprojects {
apply(plugin = "org.jetbrains.kotlin.js")
repositories {
mavenCentral()
}
kotlin {
sourceSets.all {
languageSettings.optIn("kotlin.ExperimentalStdlibApi")
languageSettings.optIn("kotlin.RequiresOptIn")
}
js(IR) {
browser {
commonWebpackConfig {
sourceMaps = true
cssSupport.enabled = true
}
}
binaries.executable()
}
}
afterEvaluate {
rootProject.extensions.configure<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension> {
versions.webpackCli.version = "4.10.0"
}
}
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0-RC")
implementation(enforcedPlatform("org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom:0.0.1-pre.256-kotlin-1.5.31"))
implementation("org.jetbrains.kotlin-wrappers:kotlin-styled")
// implementation(npm("prop-types", "^15.6.2"))
}
}
group = "moe.nea"
version = "0.0.1"
|