forked from kscience/kmath
Alexander Nozik
544b8610e1
# Conflicts: # buildSrc/settings.gradle.kts # gradle.properties # gradle/wrapper/gradle-wrapper.properties # kmath-geometry/src/commonMain/kotlin/space/kscience/kmath/geometry/euclidean2d/Circle2D.kt # kmath-geometry/src/commonMain/kotlin/space/kscience/kmath/geometry/euclidean2d/Float32Space2D.kt # kmath-geometry/src/commonMain/kotlin/space/kscience/kmath/geometry/euclidean2d/Float64Space2D.kt # kmath-geometry/src/commonMain/kotlin/space/kscience/kmath/geometry/quaternionOperations.kt
39 lines
966 B
Plaintext
39 lines
966 B
Plaintext
/*
|
|
* 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")
|
|
|
|
plugins {
|
|
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
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 {
|
|
mavenLocal()
|
|
maven("https://repo.kotlin.link")
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
|
|
versionCatalogs {
|
|
create("spclibs") {
|
|
from("space.kscience:version-catalog:$toolsVersion")
|
|
}
|
|
}
|
|
}
|