2023-07-09 15:51:50 +03:00
|
|
|
rootProject.name = "buildSrc"
|
2022-01-04 13:15:50 +03:00
|
|
|
|
|
|
|
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()
|
2022-01-04 13:15:50 +03:00
|
|
|
|
2023-07-09 15:51:50 +03:00
|
|
|
@Suppress("UnstableApiUsage")
|
2022-01-04 13:15:50 +03:00
|
|
|
repositories {
|
2022-03-08 23:15:48 +03:00
|
|
|
mavenLocal()
|
2022-01-04 13:15:50 +03:00
|
|
|
maven("https://repo.kotlin.link")
|
|
|
|
mavenCentral()
|
2022-03-08 23:15:48 +03:00
|
|
|
gradlePluginPortal()
|
2022-01-04 13:15:50 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
versionCatalogs {
|
2022-12-31 15:02:52 +03:00
|
|
|
create("spclibs") {
|
2022-07-29 15:58:02 +03:00
|
|
|
from("space.kscience:version-catalog:$toolsVersion")
|
2022-01-04 13:15:50 +03:00
|
|
|
}
|
|
|
|
}
|
2022-03-31 22:23:34 +03:00
|
|
|
}
|