Adjust build
This commit is contained in:
parent
efef5996e1
commit
a67bda8a33
@ -3,7 +3,7 @@ plugins {
|
||||
`maven-publish`
|
||||
}
|
||||
|
||||
version = "0.1.0"
|
||||
version = rootProject.extra.get("attributesVersion").toString()
|
||||
|
||||
kscience {
|
||||
jvm()
|
||||
|
@ -6,6 +6,8 @@ plugins {
|
||||
id("org.jetbrains.kotlinx.kover") version "0.7.6"
|
||||
}
|
||||
|
||||
val attributesVersion by extra("0.1.0")
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
maven("https://repo.kotlin.link")
|
||||
|
@ -67,8 +67,8 @@ kotlin {
|
||||
}
|
||||
|
||||
tasks.withType<KotlinJvmCompile> {
|
||||
kotlinOptions {
|
||||
freeCompilerArgs = freeCompilerArgs + "-Xjvm-default=all" + "-Xopt-in=kotlin.RequiresOptIn" + "-Xlambdas=indy"
|
||||
compilerOptions{
|
||||
freeCompilerArgs.addAll("-Xjvm-default=all", "-Xopt-in=kotlin.RequiresOptIn", "-Xlambdas=indy")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -124,7 +124,7 @@ public suspend fun XYColumnarData<Double, Double, Double>.fitWith(
|
||||
this,
|
||||
modelExpression,
|
||||
attributes.modify<XYFit> {
|
||||
set(::OptimizationStartPoint, startingPoint)
|
||||
set(OptimizationStartPoint(), startingPoint)
|
||||
if (!hasAny<OptimizationLog>()) {
|
||||
set(OptimizationLog, Loggable.console)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user