kmath/buildSrc/settings.gradle.kts

30 lines
690 B
Plaintext
Raw Normal View History

rootProject.name = "buildSrc"
dependencyResolutionManagement {
2022-06-12 15:16:40 +03:00
val projectProperties = java.util.Properties()
file("../gradle.properties").inputStream().use {
projectProperties.load(it)
}
projectProperties.forEach { key, value ->
extra.set(key.toString(), value)
}
val toolsVersion: String = projectProperties["toolsVersion"].toString()
@Suppress("UnstableApiUsage")
repositories {
2022-03-08 23:15:48 +03:00
mavenLocal()
maven("https://repo.kotlin.link")
mavenCentral()
2022-03-08 23:15:48 +03:00
gradlePluginPortal()
}
versionCatalogs {
create("spclibs") {
2022-07-29 15:58:02 +03:00
from("space.kscience:version-catalog:$toolsVersion")
}
}
2022-03-31 22:23:34 +03:00
}