35 lines
814 B
Kotlin
35 lines
814 B
Kotlin
plugins {
|
|
alias(libs.plugins.kotlin.multiplatform)
|
|
id("kobweb-compose")
|
|
id("com.varabyte.kobweb.internal.publish")
|
|
}
|
|
|
|
group = "com.varabyte.kobweb"
|
|
version = libs.versions.kobweb.get()
|
|
|
|
kotlin {
|
|
js {
|
|
browser()
|
|
}
|
|
|
|
sourceSets {
|
|
jsMain.dependencies {
|
|
implementation(libs.compose.runtime)
|
|
implementation(libs.compose.html.core)
|
|
|
|
api(projects.frontend.composeHtmlExt)
|
|
}
|
|
|
|
jsTest.dependencies {
|
|
implementation(kotlin("test"))
|
|
implementation(libs.truthish)
|
|
}
|
|
}
|
|
}
|
|
|
|
kobwebPublication {
|
|
artifactName.set("Kobweb Compose")
|
|
artifactId.set("kobweb-compose")
|
|
description.set("Additions to Compose HTML that attempt to mimic Jetpack Compose as much as possible (e.g. Box, Row, Column).")
|
|
}
|