vosk-api icon indicating copy to clipboard operation
vosk-api copied to clipboard

Kotlin Multiplatform Release Plan

Open Doomsdayrs opened this issue 2 years ago • 9 comments

  • [x] Decide on version scheme. Currently, the version is set to 0.0.0. Should this be in sync with the releases, or should it be updated by itself?
  • [x] Update documentation. Ensure documentation is compliant and well descriptive. Currently it just takes documentation straight from the C API which is not helpful at all.
  • [x] Update license headers. While we all know it is apache2, I will add the headers to all files for it.
  • [ ] Publish to maven central. Once prior steps are complete, Publish to the maven repository.
  • [ ] Update dependents. Numerous dependent applications should be updated to make use of the Kotlin API.
    • [ ] demo: https://github.com/alphacep/vosk-android-demo/pull/198
    • [ ] android-service: https://github.com/alphacep/vosk-android-service/pull/27
  • [ ] Remove android and java sub-projects They are duplicate code, and Android is default Kotlin nowadays anyways.

Continued from #1241

Doomsdayrs avatar Feb 17 '23 01:02 Doomsdayrs

@nshmyrev This is the road map that should be followed to hopefully ensure a smooth release without any issues.

As far as I am concerned, it can be currently used via publication to maven local with the artifact id of vosk-api-kotlin.

Doomsdayrs avatar Feb 17 '23 01:02 Doomsdayrs

Please let me know when ready to publish, I'll publish asap. As for version, I think it can be just in sync with the rest.

nshmyrev avatar Feb 17 '23 01:02 nshmyrev

Btw, I've seen that in sherpa-ncnn fangjun used AssetManager in C++ on NDK side, it would be nice to get rid of copy of assets and just load models that way. I wanted to look on it when time permits but not much time yet.

nshmyrev avatar Feb 17 '23 01:02 nshmyrev

Please let me know when ready to publish, I'll publish asap. As for version, I think it can be just in sync with the rest.

Alright, I shall sync it. It will now be 0.4.0-alpha0, matching up to the next release tag 0.4.0.

Doomsdayrs avatar Feb 17 '23 02:02 Doomsdayrs

@nshmyrev You should be able to publish to maven central now

Doomsdayrs avatar Mar 03 '23 17:03 Doomsdayrs

Thanks, let me look this week. Please ping me if I forget

nshmyrev avatar Mar 06 '23 19:03 nshmyrev

@nshmyrev The plan now is to remove the android and jvm targets, as they are duplicate code.

Doomsdayrs avatar Jun 19 '24 18:06 Doomsdayrs

@nshmyrev I noticed that the kotlin library has not been published to maven central?

Doomsdayrs avatar Jun 19 '24 18:06 Doomsdayrs

Hi! Not yet. I hope to find the time to arrange all that.

nshmyrev avatar Jun 19 '24 22:06 nshmyrev