refactor&feat: Java -> Kotlin, better extension API; Javadoc support #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of Changes
This update introduces several structural improvements and feature additions to the Elide Gradle plugin, focusing on better integration, cleaner dependency management, and a more extensible CLI interface.
1. Removal of Version Catalog Module
elide.settings.binary.version
).2. Javadoc Tooling via Elide
javadoc
implementation.elide.settings.features.javadocStrategy
.3. Javac Integration via JavaExec
javac
has been removed.JavaCompile.options.forkOptions.executable
to invoke the Elide CLI directly.4.
elide.exec
: Custom CLI Invocation SupportAdded support for defining custom tasks that invoke the Elide CLI using the new
elide.exec
DSL.Example: Custom Task Using
elide.exec
--debug
,--verbose
) is automatically inferred from plugin settings or Gradle log level.5. Updated Elide Plugin Extension Configuration
The plugin extension (
elide.settings
) has been enhanced to support the following:6. Dependency Resolution via Extension
Instead of using a centralized version catalog, dependencies are now accessible through the plugin-provided API:
This ensures all dependencies are aligned with the configured Elide version and simplifies project setup.