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

Follow ups after 1.1.0 release #1291

Merged
merged 2 commits into from
May 4, 2022
Merged

Follow ups after 1.1.0 release #1291

merged 2 commits into from
May 4, 2022

Conversation

petertrr
Copy link
Member

@petertrr petertrr commented May 4, 2022

  • Fix user.home for diktat gradle plugin (attempt 2)
  • Move log4j into scope test (diktat-common, diktat-rules)
  • Remove deprecated properties of DiktatExtension
  • Bump default version of diktat-rules in build.gradle.kts

Apparently ktlint still uses --debug option and we can keep it in our plugins for compatibility

There is no need for us to have logging implementation in dependencies: for CLI it's now provided by ktlint (they depend on logback) and specific config should be provided with the launch command; for maven and gradle plugins there is a logger provided by the build tool itself.

This pull request closes #76, closes #1269

* Fix `user.home` for diktat gradle plugin (attempt 2)
* Move log4j into scope `test` (diktat-common, diktat-rules)
* Remove deprecated properties of `DiktatExtension`
* Bump default version of diktat-rules in build.gradle.kts
@codecov
Copy link

codecov bot commented May 4, 2022

Codecov Report

Merging #1291 (d0cba49) into master (ca8cd62) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1291      +/-   ##
============================================
+ Coverage     82.36%   82.37%   +0.01%     
  Complexity     2550     2550              
============================================
  Files           105      105              
  Lines          7202     7196       -6     
  Branches       2020     2019       -1     
============================================
- Hits           5932     5928       -4     
+ Misses          351      350       -1     
+ Partials        919      918       -1     
Flag Coverage Δ
unittests 82.37% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...n/org/cqfn/diktat/plugin/gradle/DiktatExtension.kt 100.00% <ø> (ø)
...qfn/diktat/plugin/gradle/DiktatJavaExecTaskBase.kt 86.53% <100.00%> (+1.35%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca8cd62...d0cba49. Read the comment docs.

@orchestr7
Copy link
Member

Fix user.home for diktat gradle plugin (attempt 2)

🤣

@orchestr7 orchestr7 merged commit 535a8c8 into master May 4, 2022
@orchestr7 orchestr7 deleted the bugfix/followup-1269 branch May 4, 2022 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants