Skip to content

Detekt using gradle documentation out of data #2528

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

Closed
mrf7 opened this issue Mar 27, 2020 · 1 comment · Fixed by #2532
Closed

Detekt using gradle documentation out of data #2528

mrf7 opened this issue Mar 27, 2020 · 1 comment · Fixed by #2532
Milestone

Comments

@mrf7
Copy link

mrf7 commented Mar 27, 2020

Expected Behavior

Using the gradle properties on https://arturbosch.github.io/detekt/groovydsl.html should give an easy set up path.

Observed Behavior

Specifically, the documentation calls out "source" as the property to set to give source code directories. This gives an error because the actual property is "input"

Context

Setting up detekt in a gradle build took longer and needed external sources

Your Environment

  • Version of detekt used: 1.7.1
schalkms added a commit that referenced this issue Mar 27, 2020
The source property should be used for a custom detekt task.
The input property should be used for the detekt configuration closure.

Reference #2528
schalkms added a commit that referenced this issue Mar 27, 2020
The source property should be used for a custom detekt task.
The input property should be used for the detekt configuration closure.

Closes #2528
@schalkms
Copy link
Member

Thanks for the feedback regarding the documentation! The 2 PRs correct this.

schalkms added a commit that referenced this issue Mar 28, 2020
The source property should be used for a custom detekt task.
The input property should be used for the detekt configuration closure.

Closes #2528
@arturbosch arturbosch added this to the 1.7.2 milestone Mar 28, 2020
arturbosch pushed a commit that referenced this issue Mar 28, 2020
The source property should be used for a custom detekt task.
The input property should be used for the detekt configuration closure.

Reference #2528
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants