2022-01-04 13:15:50 +03:00
|
|
|
/*
|
|
|
|
* Copyright 2018-2021 KMath contributors.
|
|
|
|
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
|
|
|
*/
|
2023-05-12 20:57:55 +03:00
|
|
|
rootProject.name = "kmath"
|
2022-01-04 13:15:50 +03:00
|
|
|
|
|
|
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
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
|
|
|
}
|