Migrating from 0.2.1 to 0.2.2¶
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
What changed in 0.2.2¶
In 0.2.1, projects used a single artifact:
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.
What did not 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
JVM users¶
Replace the old JVM dependency with some-core.
Before:
After:
No source changes are required if you were already using some<T>() or someSetup {}.
Android users¶
If your Android tests were using the old some artifact, switch to some-android.
Before:
After:
some-android re-exports the core API, so you should not add some-core separately.
Summary¶
- JVM users: replace
somewithsome-core - Android users: replace
somewithsome-android - Keep the same package, imports, and shared Kotlin API