refactor&feat: Java -> Kotlin, better extension API; Javadoc support#2
Draft
Vadym Yaroshchuk (y9vad9) wants to merge 1 commit intoelide-dev:mainfrom
Draft
refactor&feat: Java -> Kotlin, better extension API; Javadoc support#2Vadym Yaroshchuk (y9vad9) wants to merge 1 commit intoelide-dev:mainfrom
Vadym Yaroshchuk (y9vad9) wants to merge 1 commit intoelide-dev:mainfrom
Conversation
Author
|
Kotlin support was dropped due to inability to support it in a stable way. The usage of compiler internals make it very hard to be implemented. Requires more time to play around. |
Author
|
I still need to clean it up a little bit a test a little more, but for now I would love to receive initial feedback |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
javadocimplementation.elide.settings.features.javadocStrategy.3. Javac Integration via JavaExec
javachas been removed.JavaCompile.options.forkOptions.executableto 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.execDSL.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:elide.settings { binary { silentMode = true strictVersionCheck = false useProjectBinary( version = "1.0.0-Beta07", downloadPath = layout.projectDirectory.dir(".elide").dir("bin"), ) } features { enableElideInstall = true javacStrategy = ElideIntegrationStrategy.ELIDE_STRICT javadocStrategy = ElideIntegrationStrategy.NO_ELIDE enableTelemetry = false } diagnostics { debug = true verbose = false } }6. Dependency Resolution via Extension
Instead of using a centralized version catalog, dependencies are now accessible through the plugin-provided API:
dependencies { implementation(elide.runtime.core) }This ensures all dependencies are aligned with the configured Elide version and simplifies project setup.