2021-05-14 22:23:28 +03:00
|
|
|
plugins {
|
|
|
|
`kotlin-dsl`
|
2022-01-04 13:15:50 +03:00
|
|
|
`version-catalog`
|
2021-05-14 22:23:28 +03:00
|
|
|
}
|
|
|
|
|
2022-01-04 13:15:50 +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
|
|
|
}
|
|
|
|
|
2022-06-12 15:16:40 +03:00
|
|
|
val toolsVersion = npmlibs.versions.tools.get()
|
|
|
|
val kotlinVersion = npmlibs.versions.kotlin.asProvider().get()
|
2022-11-23 13:25:31 +03:00
|
|
|
val benchmarksVersion = "0.4.6"
|
2022-01-04 13:15:50 +03:00
|
|
|
|
2021-06-15 09:18:40 +03:00
|
|
|
dependencies {
|
2022-07-29 15:58:02 +03:00
|
|
|
api("space.kscience:gradle-tools:$toolsVersion")
|
2022-01-04 13:15:50 +03:00
|
|
|
//plugins form benchmarks
|
|
|
|
api("org.jetbrains.kotlinx:kotlinx-benchmark-plugin:$benchmarksVersion")
|
|
|
|
//to be used inside build-script only
|
2022-11-23 13:25:31 +03:00
|
|
|
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.14.1")
|
2021-06-15 09:18:40 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
kotlin.sourceSets.all {
|
2022-01-04 13:15:50 +03:00
|
|
|
languageSettings.optIn("kotlin.OptIn")
|
2021-06-15 09:18:40 +03:00
|
|
|
}
|