kmath/buildSrc/build.gradle.kts

32 lines
874 B
Plaintext
Raw Permalink Normal View History

2021-05-14 22:23:28 +03:00
plugins {
`kotlin-dsl`
`version-catalog`
2021-05-14 22:23:28 +03:00
}
java.targetCompatibility = JavaVersion.VERSION_11
2021-06-15 09:18:40 +03:00
repositories {
2022-03-08 23:15:48 +03:00
mavenLocal()
2021-06-19 16:52:26 +03:00
maven("https://repo.kotlin.link")
2021-06-15 09:18:40 +03:00
mavenCentral()
2021-06-19 16:52:26 +03:00
gradlePluginPortal()
2021-06-15 09:18:40 +03:00
}
val toolsVersion = spclibs.versions.tools.get()
val kotlinVersion = spclibs.versions.kotlin.asProvider().get()
val benchmarksVersion = spclibs.versions.kotlinx.benchmark.get()
2021-06-15 09:18:40 +03:00
dependencies {
2022-07-29 15:58:02 +03:00
api("space.kscience:gradle-tools:$toolsVersion")
//plugins form benchmarks
2023-02-03 19:32:53 +03:00
api("org.jetbrains.kotlinx:kotlinx-benchmark-plugin:0.4.7")
//api("org.jetbrains.kotlin:kotlin-allopen:$kotlinVersion")
//to be used inside build-script only
//implementation(spclibs.kotlinx.serialization.json)
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.14.+")
2021-06-15 09:18:40 +03:00
}
kotlin.sourceSets.all {
languageSettings.optIn("kotlin.OptIn")
2021-06-15 09:18:40 +03:00
}