Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@3flex
Copy link
Member

@3flex 3flex commented Aug 31, 2019

Update annotations on tasks that were not cacheable to make them cacheable.

Using @get: on annotations is the style used in Gradle guides, and may in fact be required to get accurate results from validateTaskProperties task, so have updated existing annotations to use the get use-site target.

Also tweaked a couple of annotations in the Detekt task so they're correctly set on the internal & public parameters.

Fixes #1856

@3flex
Copy link
Member Author

3flex commented Aug 31, 2019

OOM errors in CI.

@3flex 3flex merged commit d074c36 into detekt:master Sep 1, 2019
@3flex 3flex deleted the 1856-fix branch September 1, 2019 09:04
sowmyav24 pushed a commit to sowmyav24/detekt that referenced this pull request Sep 2, 2019
* Make DetektCreateBaselineTask cacheable

* Make DetektGenerateConfigTask cacheable

* Make IDEA tasks cacheable

* Update Detekt task annotations for consistency
sowmyav24 pushed a commit to sowmyav24/detekt that referenced this pull request Sep 2, 2019
* Make DetektCreateBaselineTask cacheable

* Make DetektGenerateConfigTask cacheable

* Make IDEA tasks cacheable

* Update Detekt task annotations for consistency
sowmyav24 pushed a commit to sowmyav24/detekt that referenced this pull request Sep 2, 2019
* Make DetektCreateBaselineTask cacheable

* Make DetektGenerateConfigTask cacheable

* Make IDEA tasks cacheable

* Update Detekt task annotations for consistency
@arturbosch arturbosch added this to the 1.0.2 milestone Sep 6, 2019
sowmyav24 pushed a commit to sowmyav24/detekt that referenced this pull request Sep 17, 2019
* Make DetektCreateBaselineTask cacheable

* Make DetektGenerateConfigTask cacheable

* Make IDEA tasks cacheable

* Update Detekt task annotations for consistency
@arturbosch arturbosch modified the milestones: 1.0.2, 1.1.0 Sep 17, 2019
smyachenkov pushed a commit to smyachenkov/detekt that referenced this pull request Dec 9, 2019
* Make DetektCreateBaselineTask cacheable

* Make DetektGenerateConfigTask cacheable

* Make IDEA tasks cacheable

* Update Detekt task annotations for consistency
smyachenkov pushed a commit to smyachenkov/detekt that referenced this pull request Dec 9, 2019
* Make DetektCreateBaselineTask cacheable

* Make DetektGenerateConfigTask cacheable

* Make IDEA tasks cacheable

* Update Detekt task annotations for consistency
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.

Most Gradle tasks not cacheable

3 participants