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