kjsuikit/build.gradle

62 lines
1.2 KiB
Groovy
Raw Permalink Normal View History

2021-12-22 07:51:17 +00:00
buildscript {
repositories {
google()
mavenCentral()
mavenLocal()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
2022-01-12 07:37:46 +00:00
classpath libs.buildscript.kt.gradle
classpath libs.buildscript.kt.serialization
classpath libs.buildscript.jb.dokka
2022-01-12 08:34:24 +00:00
classpath libs.buildscript.gh.release
2021-12-22 07:51:17 +00:00
}
}
2021-12-22 08:38:12 +00:00
plugins {
alias(libs.plugins.kt.multiplatform)
2022-01-12 07:37:46 +00:00
alias(libs.plugins.jb.compose)
2021-12-22 08:38:12 +00:00
}
project.version = "$version"
project.group = "$group"
repositories {
mavenLocal()
mavenCentral()
google()
2022-04-29 11:34:10 +00:00
maven { url "https://maven.pkg.jetbrains.space/public/p/compose/dev" }
2021-12-22 07:51:17 +00:00
}
2021-12-22 08:38:12 +00:00
kotlin {
js(IR) {
browser()
}
sourceSets {
commonMain {
dependencies {
implementation libs.kt.stdlib
implementation compose.runtime
}
}
jsMain {
dependencies {
implementation compose.web.core
}
}
jsTest {
dependencies {
implementation libs.kt.test.js
implementation libs.kt.test.junit
}
}
}
2021-12-22 08:38:12 +00:00
}
apply from: "./github_release.gradle"
apply from: "./publish.gradle"