SauceNaoAPI/build.gradle

68 lines
1.3 KiB
Groovy
Raw Permalink Normal View History

2019-02-20 04:06:04 +00:00
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath libs.buildscript.kt.gradle
classpath libs.buildscript.kt.serialization
classpath libs.buildscript.gh.release
2019-02-20 04:06:04 +00:00
}
}
2020-08-22 17:00:07 +00:00
plugins {
alias(libs.plugins.multiplatform)
alias(libs.plugins.serialization)
2020-08-22 17:00:07 +00:00
}
2019-02-20 04:06:04 +00:00
2020-10-08 10:54:11 +00:00
project.version = "$library_version"
2020-12-02 08:32:26 +00:00
project.group = "dev.inmo"
2020-08-22 17:00:07 +00:00
2019-02-20 04:06:04 +00:00
apply from: "publish.gradle"
2020-10-08 09:15:11 +00:00
apply from: "github_release.gradle"
2019-02-20 04:06:04 +00:00
repositories {
mavenLocal()
mavenCentral()
}
2020-08-22 17:00:07 +00:00
kotlin {
jvm()
2021-08-31 05:29:46 +00:00
js(IR) {
2020-08-22 17:00:07 +00:00
browser()
nodejs()
}
2019-02-20 04:06:04 +00:00
2020-08-22 17:00:07 +00:00
sourceSets {
commonMain {
dependencies {
implementation kotlin('stdlib')
api libs.kt.coroutines
api libs.kt.serialization
api libs.klock
api libs.ktor.client
2020-08-22 17:00:07 +00:00
}
}
commonTest {
dependencies {
implementation kotlin('test-common')
implementation kotlin('test-annotations-common')
}
}
jvmTest {
dependencies {
implementation kotlin('test-junit')
implementation libs.ktor.client.okhttp
2020-08-22 17:00:07 +00:00
}
}
2020-12-02 08:08:19 +00:00
jsTest {
2020-08-22 17:00:07 +00:00
dependencies {
implementation kotlin('test-js')
}
}
}
2019-02-20 04:06:04 +00:00
}