Repository navigation
feat: Add a Kotlin harness - #9
Merged
Merged
Conversation
Zaimwa9
force-pushed
the
harness/kotlin
branch
from
October 21, 2026 15:30
7ae77f6 to
4e4ff75
Compare
Zaimwa9
force-pushed
the
harness/kotlin
branch
from
October 21, 2026 15:34
4e4ff75 to
73759d7
Compare
Zaimwa9
marked this pull request as ready for review
October 21, 2026 15:38
Contributor
Author
|
@themis-blindfold review |
khvn26
approved these changes
Oct 21, 2026
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.
Adds a Kotlin harness, so
flagsmith-kotlin-android-clientcan run the spec, and adds it to the compatibility matrix.harness/kotlin/Harness.ktports the Java harness. It maps step markers insdk-spec/steps.ktto top-level functions and invokes them by reflection on the file facade class (StepsKt). Arguments are converted with Gson, which the Android SDK already depends on, with integers kept asLong. The README covers the Dockerfile, the steps-file conventions and running it locally.kotlin.Result, which Java code can't unwrap without reflection. A Kotlin steps file is also the usage example Android developers would expect.androidentry usingfeat/sdk-spec, like the other entries. Its steps file is in ci: Run the Flagsmith SDK behavioural spec flagsmith-kotlin-android-client#89, which is pinned to this branch's head until it's tagged.The Android SDK is a client-side SDK. Like the JS client, it passes with the server-side key the runner provides.