Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 20348

Kotlin DSL - import of objects from buildSrc not working

$
0
0

I had the same problem. I saw that the “main”-code was missing from the Android project-view.

  • I changes “kotlin” to “java” under main -> It appeared under Android project view
  • Then I invalidated caches and restarted (file > Invalidate caches / restart > Invalidate and restart) -> Did not help
  • Run a full git clean “git clean -fdx”, and then a “gradle sync” -> I could build

Viewing all articles
Browse latest Browse all 20348

Trending Articles