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

Add Configuration Cache Support #35

Merged
merged 8 commits into from
Jun 6, 2022
Merged

Add Configuration Cache Support #35

merged 8 commits into from
Jun 6, 2022

Conversation

tylerbwong
Copy link
Owner

Fixes #34

vanniktech
vanniktech previously approved these changes May 4, 2022
Copy link
Contributor

@vanniktech vanniktech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Happy to try this out with a built snapshot version or a new release

val metalavaClasspath = project.getMetalavaClasspath(objectFactory, extension)
val metalavaClasspath = project.getMetalavaClasspath(
objectFactory,
jarPath = extension.metalavaJarPath.get().ifEmpty { null },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally, I'd just pass in the propery from the extension using get() and do the .ifEmpty { null } in the implementation to avoid duplicating the ifEmpty part

@tylerbwong tylerbwong merged commit 4c8e05a into main Jun 6, 2022
@tylerbwong tylerbwong mentioned this pull request Sep 22, 2022
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.

Incompatible with configuration cache
2 participants