-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle.kts
35 lines (31 loc) · 1.11 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
import org.jetbrains.kotlin.gradle.targets.js.yarn.YarnPlugin
import org.jetbrains.kotlin.gradle.targets.js.yarn.YarnRootExtension
buildscript {
repositories {
google()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${libs.versions.kotlin.get()}")
classpath("org.jetbrains.kotlin:kotlin-serialization:${libs.versions.kotlin.get()}")
}
}
allprojects {
repositories {
google()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
}
plugins {
id(Plugins.KotlinAllOpen) version Versions.KotlinAllOpen apply false
id(Plugins.KotlinBenchmark) version Versions.KotlinBenchmark apply false
id(Plugins.KotlinBinaryCompatibility) version Versions.KotlinBinaryCompatibility apply false
id(Plugins.Compose) version Versions.Compose apply false
id(Plugins.Dokka) version Versions.Dokka
}
// Move the `yarn.lock` file for Kotlin/JS to the `./gradle` directory.
plugins.withType<YarnPlugin> {
the<YarnRootExtension>().lockFileDirectory = rootDir.resolve("gradle")
}