hfhbd
04/25/2022, 8:37 AM`
sourceLink {
localDirectory by file("src/$sourceSetName/kotlin") // there is no watchosSimulatorArm64 because all sources are in commonMain...
remoteUrl by uri("<https://github.com/hfhbd/RateLimit/tree/main/src/$sourceSetName/kotlin>").toURL()
remoteLineSuffix by "#L"
}
hfhbd
04/25/2022, 8:41 AMFile("src/$sourceSetName/kotlin").takeIf { it.exists() }?.let {
sourceLink {
localDirectory by it
remoteUrl by uri("<https://github.com/hfhbd/RateLimit/tree/main/src/$sourceSetName/kotlin>").toURL()
remoteLineSuffix by "#L"
}
}