-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
35 lines (27 loc) · 920 Bytes
/
build.gradle
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
plugins {
id 'org.jetbrains.kotlin.js' version '1.3.72'
id 'org.jetbrains.kotlin.plugin.serialization' version '1.3.72'
}
group 'info.voidev.stash.poker-game'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
jcenter()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-js"
testImplementation "org.jetbrains.kotlin:kotlin-test-js"
implementation "org.jetbrains.kotlinx:kotlinx-serialization-runtime-js:0.20.0"
implementation "org.jetbrains.kotlinx:kotlinx-html-js:0.6.12"
implementation("org.jetbrains:kotlin-react:16.13.1-pre.105-kotlin-1.3.72")
implementation("org.jetbrains:kotlin-react-dom:16.13.1-pre.105-kotlin-1.3.72")
implementation(npm("react", "16.13.1"))
implementation(npm("react-dom", "16.13.1"))
}
kotlin.target.browser {
}
compileKotlinJs {
kotlinOptions {
freeCompilerArgs += '-Xopt-in=kotlin.RequiresOptIn'
}
}