Skip to content

Build plugins as standalone executable JARs - #23

Open
matteomekhail wants to merge 52 commits into
Wip-Sama:devfrom
matteomekhail:codex/issue-5-standalone-plugin-jar
Open

Build plugins as standalone executable JARs#23
matteomekhail wants to merge 52 commits into
Wip-Sama:devfrom
matteomekhail:codex/issue-5-standalone-plugin-jar

Conversation

@matteomekhail

Copy link
Copy Markdown

Summary

  • add a reusable standaloneJar Gradle task that packages a plugin and runtime dependencies
  • embed a launcher that discovers generated PluginModuleProvider services and initializes Koin
  • support --info and --help without the desktop application
  • enable the standalone artifact in both example plugin modules
  • document external plugin usage

Verification

GRADLE_USER_HOME=/private/tmp/orlando-gradle bash gradlew :minimalExample:standaloneJar

The generated JAR was executed on Java 21 and reported the Minimal Example Plugin plus its greet capability.

Closes #5

…ue-12-divide-plugin-settings

# Conflicts:
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/ui/PluginSettingsContent.kt
…-4-plugin-defined-ui

# Conflicts:
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/ui/PluginContent.kt
…ue-12-divide-plugin-settings

# Conflicts:
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/logic/PluginLifecycleManager.kt
…issue-4-plugin-defined-ui"

This reverts commit f8a237d, reversing
changes made to 774280b.
…issue-4-plugin-defined-ui"

This reverts commit 774280b, reversing
changes made to c38bb10.
…ue-5-standalone-plugin-jar"

This reverts commit fcd5149, reversing
changes made to 56ad0fa.
…ue-5-standalone-plugin-jar"

This reverts commit 56ad0fa, reversing
changes made to 62dee07.
…efined-ui

# Conflicts:
#	composeApp/src/commonMain/composeResources/values/strings.xml
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/ui/PluginContent.kt
…ndalone-plugin-jar

# Conflicts:
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/ui/DirectExecutionSidebar.kt
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

Successfully merging this pull request may close these issues.

1 participant