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

Allow importing just detekt-gradle-plugin into IDE #1183

Merged
merged 1 commit into from
Oct 2, 2018
Merged

Allow importing just detekt-gradle-plugin into IDE #1183

merged 1 commit into from
Oct 2, 2018

Conversation

JLLeitschuh
Copy link
Contributor

With the current project structure, for some reason, IntelliJ isn't able to generate accessors for the detekt-gradle-plugin project. This makes it very nearly impossible to work in this project.

One quick fix for this problem is to allow the detekt-gradle-plugin to be imported as a standalone project in IntelliJ. In order to do this you need a gradle/wrapper/gradle-wrapper.properties file in the project.

This PR adds such a file that is always automatically generated by the wrapper task.
Now IntelliJ can import the detekt-gradle-plugin standalone.

This PR also updates the gradle version to 4.10.2 which is the latest release of Gradle.

@@ -159,3 +159,6 @@ target/
*.iml
*/out
/docs/_site

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was being ignored and it shouldn't have been.

@arturbosch arturbosch merged commit 7b35da5 into detekt:master Oct 2, 2018
@arturbosch arturbosch added this to the RC10 milestone Nov 2, 2018
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

2 participants