add os filtering on source sets
This commit is contained in:
parent
a3840717ea
commit
3c39ff6d85
@ -136,17 +136,21 @@ kotlin {
|
|||||||
implementation("app.cash.sqldelight:native-driver:${Versions.sqlDelight}")
|
implementation("app.cash.sqldelight:native-driver:${Versions.sqlDelight}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (currentOs.isLinux) {
|
||||||
linuxMain {
|
linuxMain {
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(ktor("client-curl"))
|
implementation(ktor("client-curl"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
if (currentOs.isMacOsX) {
|
||||||
macosMain {
|
macosMain {
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(ktor("client-darwin"))
|
implementation(ktor("client-darwin"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
fun Zip.configureZip(dir: String, classifier: String) {
|
fun Zip.configureZip(dir: String, classifier: String) {
|
||||||
group = "package"
|
group = "package"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user