-
-
Notifications
You must be signed in to change notification settings - Fork 784
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
Update Kotlin to 1.4.21 #3254
Update Kotlin to 1.4.21 #3254
Conversation
...otlin/io/gitlab/arturbosch/detekt/sample/extensions/processors/QualifiedNameProcessorTest.kt
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #3254 +/- ##
============================================
- Coverage 80.45% 80.34% -0.11%
- Complexity 2737 2740 +3
============================================
Files 447 448 +1
Lines 8287 8279 -8
Branches 1573 1581 +8
============================================
- Hits 6667 6652 -15
Misses 772 772
- Partials 848 855 +7
Continue to review full report at Codecov.
|
I'm getting the same stacktrace with Java8 as in CI:
|
Also 1.4.20 introduces reflective access warnings when running detekt ...
|
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.
I saw the same issues locally. What's the plan to move this forward?
I haven't really debugged this yet. A quick search was also not successful. |
Should we hold on here till Gradle 6.8 is released? |
fb28f8e
to
2fc3270
Compare
I rebased this PR because it had conflicts and I wanted to check what was happening. I added a commit updating mockk so now the tests in JDK 8 should work. But I see the same error locally too. |
2fc3270
to
d75b1d3
Compare
This comment has been minimized.
This comment has been minimized.
d75b1d3
to
b3165bb
Compare
Gradle 6.8 is out https://docs.gradle.org/6.8/release-notes.html |
Here you go #3362 |
Is there anything missing? @schalkms are you taking over this branch? |
I handled the merge conflicts. It works for all JDKs except JDK 8, which is interesting. The build task shows the following error.
|
I am able to reproduce the error locally, which looks like the output executable On the other hand, it looks like running the jar in the traditional way works: |
I also can confirm this. Are there other ways to build an executable from a jar? |
This probably also explains why we should keep publishing |
I was wondering how detekt was added to Homebrew. It looks like @chenrui333 is managing the updates for us ❤️ . The detekt brew formulae were also using |
The mentioned zip/tar archives are built with the |
0a5f88d
to
abb7931
Compare
abb7931
to
30cf249
Compare
30cf249
to
82fb205
Compare
Cool stuff! First time seeing the github integration of detekt: With this PR merged, we will see some reflection warnings due to https://youtrack.jetbrains.com/issue/KT-43520 :( |
I'll see how we can restore the executable. If we remove it we need to update our documentation. |
It seems that ktlint has the same issue as we have here:
Extracted from: pinterest/ktlint#1063 |
Also updates Gradle and AssertJ and removes the old dokka 1 plugin workaround.