When I try to run the command ./gradlew clean install
I recieve the error message Task 'clean' not found in the root project 'projectname'
Tried multiple things including adding apply plugin: 'base'
, but nothing worked so far.
I was wondering what I am doing wrong. Wasn't able to post the code in this message, so here is a hastebin link with it. https://hastebin.com/uvuxiniwev.bash
clean task comes from the plugin java for this you may have to add
apply plugin: 'java'
inside your project, since you already have it you can try deleting any cache or you can use a wrapper pointing to local path(can be downloaded from gradle repo ) like distributionUrl=../../../build/tools/gradle-4.10.3-bin.zip
in gralde-wrapper.properties