-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathbuild.gradle.kts
48 lines (39 loc) · 911 Bytes
/
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
/*
* Copyright (c) 2023, tuanchauict
*/
import org.jetbrains.kotlin.gradle.plugin.KotlinJsCompilerType
plugins {
kotlin("js") version "1.8.20"
kotlin("plugin.serialization") version "1.8.20"
id("org.jetbrains.compose") version "1.4.0"
id("io.miret.etienne.sass") version "1.4.0"
}
group = "com.monosketch"
allprojects {
ext {
set("compilerType", KotlinJsCompilerType.IR)
}
}
repositories {
mavenCentral()
}
dependencies {
implementation(projects.app)
implementation(projects.lifecycle)
testImplementation(libs.kotlin.test.js)
}
val compilerType: KotlinJsCompilerType by ext
kotlin {
js(compilerType) {
browser {
testTask {
useKarma {
useChromeHeadless()
}
}
}
binaries.executable()
}
}
apply(from = "ktlint.gradle")
apply(from = "sass.gradle")