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