I'm trying run gradle task. Before running one task I want to see all available tasks gradle tasks
. To do it I go to the directory of my project, where is file build.gradle
. When I have executed command I got an error
could not find property 'sourceSets' on root project gradle
Plugins that are applied to build.gradle
should be at the very beginning of the build.gradle
script. Move:
apply plugin: 'java'
apply plugin: 'findbugs'
to the beginning of the script.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With