Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0.3 #3

Merged
merged 5 commits into from
Dec 25, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update deps
Nek-12 committed Dec 25, 2023
commit fa2bdda3b9387918618ca1c3a89dc7636dd7abe6
Original file line number Diff line number Diff line change
@@ -186,7 +186,7 @@ public inline fun <T> Iterable<ApiResult<T>>.values(): List<T> = asSequence()
* @see firstSuccessOrThrow
*/
public inline fun <T> Iterable<ApiResult<T>>.firstSuccess(): ApiResult<T> =
ApiResult { (asSequence().filterIsInstance<Success<T>>().first()).result }
ApiResult { asSequence().filterIsInstance<Success<T>>().first().result }

/**
* Return the first [Success] value, or throw if no success was found
10 changes: 7 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
org.gradle.jvmargs=-Xms3g -Xmx6g -XX:+UseParallelGC -XX:+UseStringDeduplication -Dkotlin.daemon.jvm.options=-Xmx2g -Dfile.encoding=UTF-8
org.gradle.jvmargs=-Xmx6g -XX:+UseParallelGC -XX:+UseStringDeduplication -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=2g
kotlin.daemon.jvmargs=-Xmx6g -XX:+UseParallelGC -XX:+UseStringDeduplication -XX:MaxMetaspaceSize=2g
android.useAndroidX=true
kotlin.code.style=official
org.gradle.caching=true
org.gradle.parallel=true
org.gradle.daemon=true
android.enableR8.fullMode=true
org.gradle.configureondemand=true
android.enableJetifier=false
@@ -12,9 +14,11 @@ android.experimental.enableSourceSetPathsMap=true
android.experimental.cacheCompileLibResources=true
kotlin.mpp.enableCInteropCommonization=true
kotlin.mpp.stability.nowarn=true
kotlin.mpp.androidGradlePluginCompatibility.nowarn=true
org.gradle.unsafe.configuration-cache=true
kotlin.mpp.androidSourceSetLayoutVersion=2
android.disableResourceValidation=true
android.nonFinalResIds=true
kotlin.mpp.androidGradlePluginCompatibility.nowarn=true
kotlin.native.ignoreIncorrectDependencies=true
kotlinx.atomicfu.enableJvmIrTransformation=true
org.gradle.configuration-cache.problems=warn
nl.littlerobots.vcu.resolver=false
16 changes: 8 additions & 8 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
[versions]
compose = "1.5.4"
compose-activity = "1.8.1"
compose-compiler = "1.5.6"
compose-material3 = "1.2.0-alpha12"
compose-activity = "1.8.2"
compose-compiler = "1.5.7"
compose-material3 = "1.2.0-beta01"
composeDetektPlugin = "1.3.0"
core-ktx = "1.12.0"
coroutines = "1.7.3"
dependencyAnalysisPlugin = "1.27.0"
dependencyAnalysisPlugin = "1.28.0"
detekt = "1.23.4"
detektFormattingPlugin = "1.23.4"
dokka = "1.9.10"
gradleAndroid = "8.3.0-alpha17"
gradleAndroid = "8.3.0-alpha18"
gradleDoctorPlugin = "0.9.1"
kotest = "5.8.0"
kotest-plugin = "5.8.0"
# @pin
kotlin = "1.9.21"
kotlinx-atomicfu = "0.22.0"
kotlin = "1.9.22"
kotlinx-atomicfu = "0.23.1"
lifecycle = "2.6.2"
lifecycle-runtime-ktx = "2.6.2"
turbine = "1.0.0"
versionCatalogUpdatePlugin = "0.8.1"
versionCatalogUpdatePlugin = "0.8.2"
versionsPlugin = "0.50.0"

[libraries]