keymanapp / keyman

Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
https://keyman.com/
Other
394 stars 109 forks source link

feat(android): Publish keyman-engine to Maven #11832

Open chrisvire opened 4 months ago

chrisvire commented 4 months ago

Is your feature request related to a problem? Please describe.

In the past, we have had to manually copy keyman-engine into App Builders and remove all network access from the library so that it would work for us. Supposedly, this was fix in https://github.com/keymanapp/keyman/issues/5396.

We are working on App Builder 12.0 release. We have already had ALTC asking when Keyman 17 would be included. I looked into including keyman-engine.aar as a pre-built file and was directed to the download directory. I talked to Richard about this and his was response was:

Some time ago, we used to download AAR or JAR libraries and include them in our builds, but now the way to do things is to make sure all external artifacts are in a Maven repository. Then we can just include them as a dependency line in the build.gradle file and update the version number when we need to.

Would it be possible for the Keyman team to publish their Keyman engine library to Maven?

Describe the solution you'd like

Please publish keyman-engine to MavenCentral so that our Android apps (and others that would like to integrate it into their apps) can have a standard way of including the library.

Describe alternatives you've considered

No response

Related issues

No response

Keyman apps

Keyman version

17.0.326

Operating system

Android

Device

No response

Target application

App Builders

Browser

No response

Keyboard name

No response

Keyboard version

No response

Language name

No response

Additional context

keyman-engine Android library

darcywong00 commented 3 months ago

I can try to investigate this in A18S8 marked for "crowd pleasers". If too many hoops, maybe pushed out later in 18.0

chrisvire commented 3 months ago

GitHub Packages can be uses to publish.

https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry

darcywong00 commented 1 month ago

Requirements for publishing to mavenCentral