Conversation
Nice one @tasomaniac, happy to approve once you sort out the failing tests :) |
Oh I thought I commented before. So I don't have access to the CI anymore. Can you post the test output? Thanks. |
Hm the CI should be public for this, let me check. |
Fixed :) |
Retest please |
It's a DaemonDisappearedException. How do we restart the tests? |
@hal90002 retest this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty simple change, and full retro-compatible! I like it 👍
@tasomaniac not sure what's going on with the CI, I will look at this again tomorrow once back at the office. |
@hal90002 retest this please |
@tasomaniac the issue with the build was the emoji (😄) in the PR description, I know that it sounds silly but this has stung me recently too. I removed that and now the new tests have failed because:
The new Detekt plugin is using the new |
Hmm, I don't think we would need to increase it in the plugin. I think the problem is the integration tests. In fact I run the tests locally with my global Gradle instance not with the wrapper. Although at the same time, I don't think increasing the Gradle wrapper would hurt. |
@tasomaniac you're definitely right. Let me open a PR to bump the Gradle version to the latest. You can back merge once that is done. |
@tasomaniac I just opened the PR to update the Gradle wrapper(s) in the repo: #136. Once that is merged we can update and merge this PR too. |
Thanks 🎉 |
Detekt Gradle Plugin was rewritten recently. It now extends from
CodeQualityTask
. This PR fixes the integration with the new version. From now on, I am not expecting the integration to be broken anymore.Changes in the new plugin:
detektCheck
task is renamed todetekt
reports
property is available mimicking other Java tools. I was hoping they would extend fromReporting
from gradle. It is a public API. This would make our integration even more solid. :) But you cannot have all the nice things. Currently depending on having this property availability.Fixes #131