bnorm
04/23/2024, 12:50 PMbnorm
04/23/2024, 12:50 PMjw
05/23/2024, 1:08 PMnatpryce
05/23/2024, 1:28 PMbuszi0809
05/23/2024, 4:01 PMDmitry Kandalov
05/29/2024, 9:16 PMnatpryce
05/30/2024, 3:31 PMnatpryce
05/31/2024, 9:45 AMnatpryce
05/31/2024, 9:45 AMnatpryce
06/04/2024, 12:41 PMnatpryce
06/04/2024, 12:44 PMnatpryce
06/04/2024, 2:50 PMnatpryce
06/04/2024, 2:50 PMCLOVIS
06/05/2024, 9:30 AMdmcg
06/10/2024, 7:11 AMCLOVIS
06/15/2024, 4:13 PMczuckie
06/24/2024, 5:55 PMdewildte
06/25/2024, 10:46 PMJoao Parracho
06/27/2024, 8:06 AMbnorm
06/28/2024, 2:13 PMincludedSourceSets
, this task will print out all available options in a multiplatform project:
tasks.create("printSourceSets") {
doLast {
kotlin.targets.forEach { target ->
target.compilations.forEach { compilation ->
println(compilation.defaultSourceSet.name)
}
}
}
}
Joao Parracho
07/01/2024, 8:18 AMCLOVIS
07/22/2024, 1:27 PMbnorm
08/22/2024, 2:45 PMPHondogo
09/10/2024, 9:03 PMjava.lang.AssertionError:
assertContentEquals(value, valueRet)
| |
| [B@6c1d2a61
[B@1840d643
CLOVIS
09/21/2024, 12:10 PMassertEquals(6.right(), 5.successful().withProgress(loading(0.2)).toEither())
Before:
Expected :Either.Right(6)
Actual :Either.Right(5)
With Power Assert:
assertEquals(6.right(), 5.successful().withProgress(loading(0.2)).toEither())
| | | | |
| | | | Either.Right(5)
| | | Loading(20%)
| | Success(value=5, progress=Loading(20%))
| Success(value=5)
Either.Right(6)
Expected :Either.Right(6)
Actual :Either.Right(5)
rocketraman
09/30/2024, 1:45 PMcommonTest
sources, even if I set commonTest
explicitly in the includedSourceSets
. It has worked for me on other projects... not sure why it isn't working on this one.rocketraman
10/25/2024, 4:31 PMExperimentalKotlinGradlePluginApi
warnings when power assert is loaded in a convention plugin? All builds get errors that look like this:
w: file:///home/raman/.../buildSrc/build/generated-sources/kotlin-dsl-accessors/kotlin/gradle/kotlin/dsl/accessors/_b37aeb87f95e53da65bc4a78666b15f2/Accessorsatef9dvwop5esd1nvo708sdz1.kt:65:45 Experimental API in the Kotlin Gradle Plugin: No stability guarantees can be provided. The API could get removed in the future without replacement
CLOVIS
07/18/2025, 7:37 PMcommonMain
? I have a module that contains fixtures.
I have
powerAssert {
functions = listOf("kotlin.check")
includedSourceSets = listOf("commonMain", "jvmMain", "jsMain", "nativeMain")
}
but I still get
Check failed.
java.lang.IllegalStateException: Check failed.
at opensavvy.ktmongo.bson.raw.TimestampTestKt.timestamp$lambda$9$lambda$5(TimestampTest.kt:69)
without Power Assert's message