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

Move smithyCli configuration and correct issue with conventions #112

Merged
merged 3 commits into from
Jan 12, 2024

Conversation

hpmellema
Copy link
Contributor

Description of changes:

  1. Corrects an issue where the conventions set for the smithyBuildtask were causing custom defined tasks used without the java plugin applied to fail. The failure was due to the conventions not lazily executing the pulling of the configurations used for each of the classpaths.

  2. As part of fixing the above it was nicer to move the smithyCli config to always be created whenever the base plugin is applied even if no source sets are created. This allows users to apply the base plugin to resolve the cli artifact without needing to pass in a custom classpath with the CLI on it to the build task.

  3. Applies some simple cleanup and renames the "RuntimeClasspath" parameter to "ModelDiscoveryClasspath" parameter for clarity for users using the build task on its own.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@hpmellema hpmellema requested a review from a team as a code owner December 21, 2023 19:19
@hpmellema hpmellema force-pushed the update-usage-of-configurations branch from 59d1f3c to 2ecbbf7 Compare January 12, 2024 15:03
@hpmellema hpmellema merged commit 6d84198 into smithy-lang:main Jan 12, 2024
4 checks passed
@hpmellema hpmellema deleted the update-usage-of-configurations branch January 12, 2024 15:17
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.

2 participants