When you are using the java plugin with gradle, and do only a clean of a project, is the compileJava task still run?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
By default, the
cleantask doesn’t depend on any other task, so the answer is no. If you observe this, it means that a build script or third-party plugin has added a task dependency fromcleantocompileJava(or to some other task that in turn depends oncompileJava).