Repository navigation
Migrate to Kotlin Multiplatform, modernize build and add CI/CD - #1
Merged
Merged
Conversation
- Kotlin 2.3.20, Gradle 9.4.1, AGP 9.0.1, coroutines 1.10.2 - Targets: jvm, android, iosArm64, iosSimulatorArm64, iosX64 - unicorn ru.kode:unicorn2:2.3.0 (temporary mavenLocal until it is on Central) - Common rememberViewIntents(factory); reified variant kept on jvm/android - vanniktech Central Portal publishing, GitHub Actions CI and release - Tests for intent factories, ViewIntents, ViewModel lifecycle and MviComponent
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
way/unicorn)jvm,android,iosArm64,iosSimulatorArm64,iosX64ru.dimsuz:unicorn2:2.2.0→ru.kode:unicorn2:2.3.0(new groupId)amvi-component-compose: depends on Compose runtime only (was Compose Desktop). New commonrememberViewIntents(factory); reified no-argrememberViewIntents()kept on JVM and AndroidUUID→kotlin.uuid.Uuid,System.currentTimeMillis()→kotlin.time.Clockci.yml(spotless, JVM tests, Android assemble) andrelease.yml(onv*tags, checks tag matchesversionName)Tests
IntentFactoryTest,ViewIntentsTest,ViewModelLifecycleTest(common) andMviComponentTest(JVM, headless Compose composition: attach/detach, ViewModel swap, state rendering,rememberViewIntents)spotlessCheck,build(all targets) andpublishToMavenLocalpass; JVM tests pass 3/3 reruns. iOS test binaries compile and link; not run (no simulator runtime locally, CI does not run them either)Before merge / release
ru.kode:unicorn2:2.3.0to Maven Central, then remove the temporarymavenLocal()fromsettings.gradle.kts. CI fails to resolve unicorn until then.releaseenvironment with secretsNEXUS_USERTOKEN_NAME,NEXUS_USERTOKEN_PASSWORD,SIGNING_KEY_ID,SIGNING_PASSWORD,SIGNING_SECRET_KEY_RING_FILE_BASE64