kmath/buildSrc/settings.gradle.kts

34 lines
841 B
Plaintext
Raw Normal View History

/*
* 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.
*/
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()
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 {
2022-06-12 15:16:40 +03:00
create("npmlibs") {
from("ru.mipt.npm:version-catalog:$toolsVersion")
}
}
2022-03-31 22:23:34 +03:00
}