Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Kotlin, and possibly Java, runtimes to be served as libraries from Jitpack #200

Open
MWatter opened this issue Oct 21, 2023 · 0 comments

Comments

@MWatter
Copy link

MWatter commented Oct 21, 2023

I'll be referencing Kotlin in this this issue description, but the same concepts apply to Java.

One of the major benefits with developing in a strongly typed language is the hints and help and IDE provides during development. This is even further enhanced these days with the ability of AI tools like Github Copilot. However, for this to work well, the libraries that one is using while writing code, openruntime functions in this case, must be available as a dependency.

Ideally the Kotlin runtime would be uploaded to Maven Central, however a working middle-ground is allowing the code to be read and used by jitpack.io which can compile the code and present the artifacts as libraries in a maven compatible repository. For this to work, however, there are a few minor changes needed:

  1. The maven-publish plugin needs to be added to the runtime build.gradle configuration
  2. There needs to be a very basic settings.gradle file at the root of the project that looks like:
include 'runtimes:kotlin-1.6'
include 'runtimes:kotlin-1.8'

If the community and lead developers are open to this idea, I will submit a PR with these changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant