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

Gradle plugin fixes #2986

Merged
merged 3 commits into from
Aug 19, 2020
Merged

Gradle plugin fixes #2986

merged 3 commits into from
Aug 19, 2020

Conversation

3flex
Copy link
Member

@3flex 3flex commented Aug 19, 2020

  • Stop declaring unnecessary dependencies
  • Correct the generated test Gradle build files so they're valid
  • Remove unused file

Copy link
Member

@schalkms schalkms left a comment

Choose a reason for hiding this comment

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

Long time no hear! Thanks for this pr!

The previous commit uncovers a problem with the Gradle build files that are
being generated for tests, since a default Kotlin version is no longer
declared on the classpath, and the Kotlin plugin cannot be applied without
a specific version.

Since the Kotlin plugin is not currently used in any tests, and hard coding
a Kotlin version adds an additional maintenance burden, it's better to
remove it for now.

The java-library plugin is added instead so the "implementation" and "api"
configurations will still be available for dependency declaration in tests.
@codecov
Copy link

codecov bot commented Aug 19, 2020

Codecov Report

Merging #2986 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2986   +/-   ##
=========================================
  Coverage     80.29%   80.29%           
  Complexity     2478     2478           
=========================================
  Files           424      424           
  Lines          7479     7479           
  Branches       1370     1370           
=========================================
  Hits           6005     6005           
  Misses          760      760           
  Partials        714      714           

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 8664cf6...0abd300. Read the comment docs.

@arturbosch arturbosch added this to the 1.12.0 milestone Aug 19, 2020
@arturbosch arturbosch merged commit 45e3229 into detekt:master Aug 19, 2020
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.

3 participants