Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
serras committed Oct 24, 2023
1 parent bda6806 commit 64be78e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 25 deletions.
9 changes: 2 additions & 7 deletions arrow-libs/core/arrow-annotations/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ spotless {
}
}

apply(from = property("ANIMALSNIFFER_MPP"))

kotlin {
sourceSets {
commonMain {
Expand All @@ -25,11 +27,6 @@ kotlin {
implementation(libs.kotlin.stdlib)
}
}
jvmTest {
dependencies {
runtimeOnly(libs.kotest.runnerJUnit5)
}
}
jsMain {
dependencies {
implementation(libs.kotlin.stdlibJS)
Expand All @@ -45,5 +42,3 @@ kotlin {
}
}
}

apply(from = property("ANIMALSNIFFER_MPP"))
18 changes: 1 addition & 17 deletions arrow-libs/core/arrow-atomic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

import org.jetbrains.kotlin.gradle.tasks.KotlinCompile


plugins {
id(libs.plugins.kotlin.multiplatform.get().pluginId)
alias(libs.plugins.arrowGradleConfig.kotlin)
alias(libs.plugins.arrowGradleConfig.publish)

alias(libs.plugins.kotlinx.kover)
alias(libs.plugins.spotless)
}
Expand All @@ -34,6 +32,7 @@ kotlin {
implementation(libs.kotlin.test)
implementation(libs.kotest.assertionsCore)
implementation(libs.kotest.property)
implementation(libs.coroutines.test)
}
}

Expand All @@ -48,21 +47,6 @@ kotlin {
implementation(libs.kotlin.stdlibJS)
}
}

commonTest {
dependencies {
implementation(projects.arrowFxCoroutines)
implementation(libs.kotest.frameworkEngine)
implementation(libs.kotest.assertionsCore)
implementation(libs.kotest.property)
}
}

jvmTest {
dependencies {
runtimeOnly(libs.kotest.runnerJUnit5)
}
}
}

jvm {
Expand Down
3 changes: 3 additions & 0 deletions arrow-libs/fx/arrow-fx-coroutines/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@ kotlin {

commonTest {
dependencies {
implementation(libs.kotlin.test)
implementation(libs.kotest.frameworkEngine)
implementation(libs.kotest.assertionsCore)
implementation(libs.kotest.property)
implementation(libs.coroutines.test)
}
}

jvmTest {
dependencies {
runtimeOnly(libs.kotest.runnerJUnit5)
Expand All @@ -45,6 +47,7 @@ kotlin {
implementation(libs.kotlin.stdlib)
}
}

jsMain {
dependencies {
implementation(libs.kotlin.stdlibJS)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,19 @@ import arrow.atomic.AtomicInt
import arrow.atomic.update
import arrow.core.Either
import arrow.core.NonEmptyList
import arrow.core.continuations.either
import arrow.core.left
import arrow.core.raise.either
import io.kotest.matchers.should
import io.kotest.matchers.shouldBe
import io.kotest.property.Arb
import io.kotest.property.arbitrary.int
import io.kotest.property.arbitrary.string
import io.kotest.property.checkAll
import kotlin.test.Test
import kotlin.time.Duration.Companion.milliseconds
import kotlinx.coroutines.CompletableDeferred
import kotlinx.coroutines.withTimeoutOrNull
import kotlinx.coroutines.test.runTest

class ParMapTest {
@Test fun parMapIsStackSafe() = runTest {
Expand Down

0 comments on commit 64be78e

Please sign in to comment.