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

Introduce static compilation #165

Merged
merged 1 commit into from Sep 18, 2019
Merged

Introduce static compilation #165

merged 1 commit into from Sep 18, 2019

Conversation

rpalcolea
Copy link
Member

@rpalcolea rpalcolea commented Sep 18, 2019

We can revisit this plugin later as we leverage copyWith from ImmutableAnnotation which doesn't play well with static compilation out of the box -> http://docs.groovy-lang.org/2.4.7/html/gapi/groovy/transform/Immutable.html#copyWith

import groovy.transform.CompileStatic
import org.codehaus.groovy.control.customizers.builder.CompilerCustomizationBuilder

CompilerCustomizationBuilder.withConfig(configuration) {
Copy link
Member

Choose a reason for hiding this comment

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

💯

@rpalcolea rpalcolea merged commit 4c4f364 into master Sep 18, 2019
@rpalcolea rpalcolea deleted the static-compilation branch September 18, 2019 19:28
@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 68.872% when pulling 43a217c on static-compilation into 6bdafc5 on master.

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.

None yet

3 participants