| icon | lucide/arrow-right-left |
|---|
Version 0.2.2 changes how you depend on Some.
If you are upgrading from 0.2.1, the main change is the artifact split:
dev.appoutlet:somebecomesdev.appoutlet:some-corefor JVM projectsdev.appoutlet:some-androidis the Android artifact
In 0.2.1, projects used a single artifact:
testImplementation("dev.appoutlet:some:0.2.1")In 0.2.2, Some is published as separate artifacts:
- JVM:
dev.appoutlet:some-core:0.2.2 - Android:
dev.appoutlet:some-android:0.2.2
This is a dependency change, not a Kotlin API change.
- The package name is still
dev.appoutlet.some - You still call
some<T>()andsomeSetup {} - Existing configuration and fixture generation APIs remain the same
- Your existing imports for the shared API do not need to change
Replace the old JVM dependency with some-core.
Before:
testImplementation("dev.appoutlet:some:0.2.1")After:
testImplementation("dev.appoutlet:some-core:0.2.2")No source changes are required if you were already using some<T>() or someSetup {}.
If your Android tests were using the old some artifact, switch to some-android.
Before:
testImplementation("dev.appoutlet:some:0.2.1")After:
testImplementation("dev.appoutlet:some-android:0.2.2")some-android re-exports the core API, so you should not add some-core separately.
- JVM users: replace
somewithsome-core - Android users: replace
somewithsome-android - Keep the same package, imports, and shared Kotlin API