You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ApiResult is a Kotlin Multiplatform declarative error handling framework that is performant, easy to use and
30
-
feature-rich.
31
-
"""
28
+
@Suppress("MaxLineLength")
29
+
constval description ="""ApiResult is a Kotlin Multiplatform declarative error handling library. Just like Arrow's Either, but without the complexity."""
32
30
constval supportEmail ="hello@respawn.pro"
33
31
constval vendorName ="Respawn Open Source Team"
34
32
constval vendorId ="respawn-app"
35
33
constval developerUrl ="https://respawn.pro"
36
34
37
35
// kotlin
38
36
37
+
val jvmTarget =JvmTarget.JVM_11
38
+
val javaVersion =JavaVersion.VERSION_11
39
+
constval compileSdk =35
40
+
constval targetSdk = compileSdk
41
+
constval minSdk =21
42
+
constval appMinSdk =26
43
+
constval publishingVariant ="release"
44
+
39
45
val optIns =listOf(
40
46
"kotlinx.coroutines.ExperimentalCoroutinesApi",
41
47
"kotlinx.coroutines.FlowPreview",
42
48
"kotlin.RequiresOptIn",
43
49
"kotlin.experimental.ExperimentalTypeInference",
44
-
"kotlin.contracts.ExperimentalContracts"
50
+
"kotlin.uuid.ExperimentalUuidApi",
51
+
"kotlin.contracts.ExperimentalContracts",
45
52
)
46
53
val compilerArgs =listOf(
47
54
"-Xbackend-threads=0", // parallel IR compilation
55
+
"-Xexpect-actual-classes",
56
+
"-Xwasm-use-new-exception-proposal",
57
+
"-Xconsistent-data-class-copy-visibility",
58
+
"-Xsuppress-warning=NOTHING_TO_INLINE",
59
+
"-Xsuppress-warning=UNUSED_ANONYMOUS_PARAMETER",
60
+
"-Xwasm-debugger-custom-formatters"
48
61
)
49
62
val jvmCompilerArgs = buildList {
50
63
addAll(compilerArgs)
51
64
add("-Xjvm-default=all") // enable all jvm optimizations
0 commit comments