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

Treehouse Gradle Plugin #2138

Open
swankjesse opened this issue Jun 25, 2024 · 0 comments
Open

Treehouse Gradle Plugin #2138

swankjesse opened this issue Jun 25, 2024 · 0 comments

Comments

@swankjesse
Copy link
Collaborator

We’ve got a Redwood Gradle plugin that implements the requirements of the widget system.

I think we could also use a Treehouse Gradle plugin.

It could make it much easier to set up application builds:

treehouseBuild {
  guestApplication {
    httpServerPort.set(23369)
    mainFunction.set("com.example.prepareTreehouse")
    mainModuleId.set("./example-treehouse.js")
  }
}

And shared libraries for host, host+guest, and guest:

treehouseBuild {
  hostAndGuestLibrary() // or hostLibrary() or guestLibrary()
}

We build guest libraries for both Kotlin/JS and Kotlin/JVM, so it’s possible to run JVM unit tests for guest code.

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

No branches or pull requests

2 participants