From c418607bf674af50bbe31b3b62af0aff4294c4dc Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Tue, 30 Apr 2024 19:41:34 +0300 Subject: [PATCH] 2.0.0-RC2 --- build.gradle.kts | 2 +- buildSrc/build.gradle.kts | 1 + gradle.properties | 2 +- kmath-ast/src/jvmTest/kotlin/space/kscience/kmath/ast/utils.kt | 3 --- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index d90529e08..57ff022f2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -16,7 +16,7 @@ allprojects { } group = "space.kscience" - version = "0.4.0" + version = "0.4.1-dev" } subprojects { diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index ba4c391d8..c0f9d9631 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -1,4 +1,5 @@ plugins { + kotlin("jvm") version "1.9.23" `kotlin-dsl` `version-catalog` } diff --git a/gradle.properties b/gradle.properties index 295dbc060..9a76404a9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,6 +10,6 @@ org.gradle.jvmargs=-Xmx4096m org.gradle.parallel=true org.gradle.workers.max=4 -toolsVersion=0.15.2-kotlin-2.0.0-RC1 +toolsVersion=0.15.2-kotlin-2.0.0-RC2 #kotlin.experimental.tryK2=true #kscience.wasm.disabled=true \ No newline at end of file diff --git a/kmath-ast/src/jvmTest/kotlin/space/kscience/kmath/ast/utils.kt b/kmath-ast/src/jvmTest/kotlin/space/kscience/kmath/ast/utils.kt index f06137c4a..b48a8fdba 100644 --- a/kmath-ast/src/jvmTest/kotlin/space/kscience/kmath/ast/utils.kt +++ b/kmath-ast/src/jvmTest/kotlin/space/kscience/kmath/ast/utils.kt @@ -12,8 +12,6 @@ import space.kscience.kmath.expressions.Symbol import space.kscience.kmath.operations.Algebra import space.kscience.kmath.operations.Float64Field import space.kscience.kmath.operations.Int32Ring -import kotlin.contracts.InvocationKind -import kotlin.contracts.contract import space.kscience.kmath.asm.compile as asmCompile import space.kscience.kmath.asm.compileToExpression as asmCompileToExpression @@ -43,7 +41,6 @@ private object PrimitiveAsmCompilerTestContext : CompilerTestContext { internal actual inline fun runCompilerTest(action: CompilerTestContext.() -> Unit) { - contract { callsInPlace(action, InvocationKind.EXACTLY_ONCE) } action(GenericAsmCompilerTestContext) action(PrimitiveAsmCompilerTestContext) }