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}")
|
||||
}
|
||||
}
|
||||
if (currentOs.isLinux) {
|
||||
linuxMain {
|
||||
dependencies {
|
||||
implementation(ktor("client-curl"))
|
||||
}
|
||||
}
|
||||
}
|
||||
if (currentOs.isMacOsX) {
|
||||
macosMain {
|
||||
dependencies {
|
||||
implementation(ktor("client-darwin"))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun Zip.configureZip(dir: String, classifier: String) {
|
||||
group = "package"
|
||||
|
Loading…
x
Reference in New Issue
Block a user