Skip to content

Commit

Permalink
Spotless, test dep, just browser
Browse files Browse the repository at this point in the history
  • Loading branch information
ionspin committed Jul 14, 2024
1 parent ea62f1d commit 6b5f990
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 0 additions & 2 deletions bignum-serialization-kotlinx/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ kotlin {
mingwX64()
wasmJs {
browser()
this.applyBinaryen()
this.d8()
}
wasmWasi()

Expand Down
6 changes: 6 additions & 0 deletions bignum/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ kotlin {
implementation(kotlin(Deps.Js.test))
}

val wasmJsTest by getting {
dependencies {
implementation(kotlin(Deps.WasmJs.test))
}
}

all {
languageSettings.enableLanguageFeature("InlineClasses")
languageSettings.optIn("expect-actual-classes")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import com.ionspin.kotlin.bignum.decimal.BigDecimal
import com.ionspin.kotlin.bignum.integer.base63.array.BigInteger63Arithmetic
import com.ionspin.kotlin.bignum.integer.base63.array.BigInteger63Arithmetic.compareTo
import com.ionspin.kotlin.bignum.modular.ModularBigInteger
import kotlin.math.ceil
import kotlin.math.floor
import kotlin.math.log10

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ actual object RuntimePlatform {
* We need to know if we are running on a platform that doesn't know how to tell decimal and integer apart.
*/
actual fun currentPlatform(): Platform = Platform.WASMJS
}
}

0 comments on commit 6b5f990

Please sign in to comment.