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

src directory is not found in file path <...>/build.gradle.kts #971

Closed
petertrr opened this issue Jul 7, 2021 · 2 comments · Fixed by #981
Closed

src directory is not found in file path <...>/build.gradle.kts #971

petertrr opened this issue Jul 7, 2021 · 2 comments · Fixed by #981
Labels
bug Something isn't working
Milestone

Comments

@petertrr
Copy link
Member

petertrr commented Jul 7, 2021

Describe the bug

This message is true, but we shouldn't log it. We have some special handling of gradle scripts, and it should include legal absence of src directory

Environment information

  • diktat version: 1.0.0-rc.2
  • build tool (maven/gradle): gradle
@petertrr petertrr added the bug Something isn't working label Jul 7, 2021
@kgevorkyan
Copy link
Member

I think under this issue we can also investigate problem with extra warnings from kotlin
Seems, it should be fixed (youtrack, stackoverflow) in kotlin 1.5

@petertrr
Copy link
Member Author

I think under this issue we can also investigate problem with extra warnings from kotlin
Seems, it should be fixed (youtrack, stackoverflow) in kotlin 1.5

Yep, I've also found this youtrack ticket, which also states that this issue should be fixed in 1.5.20. However, several projects with diktat, i.e. diktat, save, have another class in the warning:

WARNING: Illegal reflective access by org.jetbrains.kotlin.com.intellij.util.ReflectionUtil (file:/home/runner/.m2/repository/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.5.20/kotlin-compiler-embeddable-1.5.20.jar) to field java.lang.Throwable.backtrace

which is probably another issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants