title: gradle: Skipping task ':compileJava' as it has no source files
body: <p>i try <code>gradle -d compileJava</code> in <a href="https://github.com/roroco/try_gradle" rel="noreferrer">my try project</a>, and gradle raise "Skipping task ':compileJava' as it has no source files.". the worse thing is that i can't see anything created in build/. i create this project only with running <code>gradle init</code> and creating a "src/Ex.java".</p>
  
  <p><strong>my question is:</strong></p>
  
  <p>How to load default "compileJava" or define my "compileJava" to fix this warning.</p>