forked from kscience/kmath
35 lines
918 B
Plaintext
35 lines
918 B
Plaintext
plugins {
|
|
`kotlin-dsl`
|
|
`version-catalog`
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
maven("https://repo.kotlin.link")
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
|
|
val toolsVersion = spclibs.versions.tools.get()
|
|
val kotlinVersion = spclibs.versions.kotlin.asProvider().get()
|
|
val benchmarksVersion = spclibs.versions.kotlinx.benchmark.get()
|
|
|
|
dependencies {
|
|
api("space.kscience:gradle-tools:$toolsVersion")
|
|
//plugins form benchmarks
|
|
api("org.jetbrains.kotlinx:kotlinx-benchmark-plugin:0.4.9")
|
|
//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.+")
|
|
}
|
|
|
|
kotlin{
|
|
jvmToolchain{
|
|
languageVersion.set(JavaLanguageVersion.of(11))
|
|
}
|
|
sourceSets.all {
|
|
languageSettings.optIn("kotlin.OptIn")
|
|
}
|
|
}
|