kmath/buildSrc/settings.gradle.kts

39 lines
966 B
Plaintext
Raw Permalink 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")
2023-10-25 10:28:39 +03:00
plugins {
2024-03-08 10:18:32 +03:00
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
2023-10-25 10:28:39 +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()
@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
}