Remove test dependencies from jvm main, clean up runners
This commit is contained in:
parent
fec0f36dc3
commit
c843ea5122
@ -566,8 +566,6 @@ kotlin {
|
||||
kotlin.srcDirs("src/jvmSpecific", "src/jvmMain/kotlin")
|
||||
dependencies {
|
||||
implementation(kotlin(Deps.Jvm.stdLib))
|
||||
implementation(kotlin(Deps.Jvm.test))
|
||||
implementation(kotlin(Deps.Jvm.testJUnit))
|
||||
|
||||
implementation(Deps.Jvm.resourceLoader)
|
||||
|
||||
|
@ -184,6 +184,7 @@ kotlin {
|
||||
implementation(kotlin(Deps.Common.stdLib))
|
||||
implementation(kotlin(Deps.Common.test))
|
||||
implementation(Deps.Common.serialization)
|
||||
// api(Deps.Common.libsodiumBindings)
|
||||
api(project(":multiplatform-crypto-libsodium-bindings"))
|
||||
implementation(Deps.Common.coroutines)
|
||||
}
|
||||
|
@ -1,12 +1,5 @@
|
||||
import com.ionspin.kotlin.crypto.hash.blake2b.Blake2bDelegated
|
||||
import kotlin.time.ExperimentalTime
|
||||
import kotlin.time.measureTime
|
||||
|
||||
@ExperimentalTime
|
||||
import com.ionspin.kotlin.crypto.sample.Sample
|
||||
|
||||
fun main() {
|
||||
println("Test")
|
||||
// Blake
|
||||
val blake = Blake2bDelegated()
|
||||
blake.digest()
|
||||
Sample.runSample()
|
||||
}
|
||||
|
@ -1,9 +1,5 @@
|
||||
import com.ionspin.kotlin.crypto.sample.Sample
|
||||
import kotlin.time.ExperimentalTime
|
||||
|
||||
@ExperimentalTime
|
||||
fun main() {
|
||||
|
||||
Sample.runSample()
|
||||
|
||||
}
|
||||
|
@ -1,7 +1,4 @@
|
||||
import com.ionspin.kotlin.crypto.sample.Sample
|
||||
import kotlin.time.ExperimentalTime
|
||||
|
||||
@ExperimentalTime
|
||||
|
||||
fun main() {
|
||||
Sample.runSample()
|
||||
|
@ -1,5 +1,6 @@
|
||||
import com.ionspin.kotlin.crypto.sample.Sample
|
||||
|
||||
fun main() : Unit {
|
||||
Sample.runSample()
|
||||
}
|
||||
// Clashes with platform specific main()
|
||||
//fun main() : Unit {
|
||||
// Sample.runSample()
|
||||
//}
|
||||
|
Loading…
x
Reference in New Issue
Block a user