Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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!

3flex added 3 commits August 19, 2020 21:33
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.
@3flex 3flex force-pushed the gradle-plugin-fixes branch from ca5c0f1 to 0abd300 Compare August 19, 2020 11:34
@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