Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/gradle-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
dependencies-cache-enabled: false
configuration-cache-enabled: false
- name: Test rsocket-transport-ktor module
if: matrix.target != 'mingwX64' && matrix.target != 'jsIrNode' && matrix.target != 'jsIrBrowser' && matrix.target != 'jsLegacyNode' && matrix.target != 'jsLegacyBrowser' && (success() || failure())
if: matrix.target != 'mingwX64' && (success() || failure())
timeout-minutes: 10
uses: gradle/gradle-build-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gradle-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
dependencies-cache-enabled: false
configuration-cache-enabled: false
- name: Test rsocket-transport-ktor module
if: matrix.target != 'mingwX64' && matrix.target != 'jsIrNode' && matrix.target != 'jsIrBrowser' && matrix.target != 'jsLegacyNode' && matrix.target != 'jsLegacyBrowser' && (success() || failure())
if: matrix.target != 'mingwX64' && (success() || failure())
timeout-minutes: 10
uses: gradle/gradle-build-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
dependencies-cache-enabled: false
configuration-cache-enabled: false
- name: Test rsocket-transport-ktor module
if: matrix.target != 'mingwX64' && matrix.target != 'jsIrNode' && matrix.target != 'jsIrBrowser' && matrix.target != 'jsLegacyNode' && matrix.target != 'jsLegacyBrowser' && (success() || failure())
if: matrix.target != 'mingwX64' && (success() || failure())
timeout-minutes: 10
uses: gradle/gradle-build-action@v1
with:
Expand Down
22 changes: 9 additions & 13 deletions benchmarks/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,21 @@
import org.jetbrains.kotlin.gradle.plugin.mpp.*

plugins {
kotlin("multiplatform")
id("org.jetbrains.kotlinx.benchmark")
kotlin("plugin.allopen")
`kotlin-multiplatform`
alias(libs.plugins.kotlin.allopen)
alias(libs.plugins.kotlinx.benchmark)
}

val rsocketJavaVersion: String by rootProject
val kotlinxCoroutinesVersion: String by rootProject
val kotlinxBenchmarkVersion: String by rootProject

kotlin {
val jvm = jvm() //common jvm source set
val kotlinJvm = jvm("kotlin") //kotlin benchmark
val javaJvm = jvm("java")

sourceSets {
val commonMain by getting {
commonMain {
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-benchmark-runtime:$kotlinxBenchmarkVersion")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinxCoroutinesVersion")
implementation(libs.kotlinx.benchmark)
implementation(libs.kotlinx.coroutines.core)
}
}

Expand All @@ -52,9 +48,9 @@ kotlin {
val javaMain by getting {
dependsOn(jvmMain)
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactor:$kotlinxCoroutinesVersion")
implementation("io.rsocket:rsocket-core:$rsocketJavaVersion")
implementation("io.rsocket:rsocket-transport-local:$rsocketJavaVersion")
implementation(libs.kotlinx.coroutines.reactor)
implementation(libs.rsocket.java.core)
implementation(libs.rsocket.java.transport.local)
}
}
}
Expand Down
Loading