suresh
04/09/2017, 10:34 PMbuildSrc
(for custom plugins). Getting this weird NPE when ever i do buildSrc refactoring.
$ ./gradlew clean build
:buildSrc:compileKotlin UP-TO-DATE
:buildSrc:compileJava NO-SOURCE
:buildSrc:compileGroovy NO-SOURCE
:buildSrc:copyMainKotlinClasses FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':buildSrc:copyMainKotlinClasses'.
> kotlin.KotlinNullPointerException (no error message)
(Full log - https://slack-files.com/T09229ZC6-F4W1G6Q2U-e69bb5b4fa)
Any idea why the buildSrc
clean is not getting invoked for ./gradlew clean
task ?