mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2024-11-14 12:23:50 +00:00
61 lines
1.1 KiB
Groovy
61 lines
1.1 KiB
Groovy
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
mavenLocal()
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
|
}
|
|
|
|
dependencies {
|
|
classpath libs.buildscript.kt.gradle
|
|
classpath libs.buildscript.kt.serialization
|
|
classpath libs.buildscript.jb.dokka
|
|
classpath libs.buildscript.gh.release
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
alias(libs.plugins.kt.multiplatform)
|
|
alias(libs.plugins.jb.compose)
|
|
}
|
|
|
|
project.version = "$version"
|
|
project.group = "$group"
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
google()
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
apply from: "./github_release.gradle"
|
|
apply from: "./publish.gradle"
|
|
|