Skip to content

"Not able to determine a path to a scanned file or "src" directory cannot be found in it's path" Error #1202

@yewton

Description

@yewton

Describe the bug

./gradlew spotlessApply output the following error:

Not able to determine a path to a scanned file or "src" directory cannot be found in it's path. Will not be able to determine correct package name. It can happen due to missing <src> directory in the path

P.S. Telegram inivitation link seems being expired...

Expected behavior

Not getting any error

Observed behavior

Described error occurs

Steps to Reproduce

checkout https://github.com/yewton/testdiktat and run ./gradlew spotlessApply

Environment information

  • diktat version:1.0.1
  • build tool (maven/gradle):gradle
  • how is diktat run (CLI, plugin, etc.):Spotless plugin
  • kotlin version:1.5.31
  • operating system:Xubuntu Jammy Jellyfish (development branch) x86_64
  • link to a project (if your project is public): https://github.com/yewton/testdiktat

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions