java - gradle: Skipping task ':compileJava' as it has no source files -



java - gradle: Skipping task ':compileJava' as it has no source files -

i seek gradle -d compilejava in my seek project, , gradle raise "skipping task ':compilejava' has no source files.". worse thing can't see created in build/. create project running gradle init , creating "src/ex.java".

my question is:

how load default "compilejava" or define "compilejava" prepare warning.

by default, java source files need go src/main/java (or src/test/java test sources). either adapt directory construction accordingly, or reconfigure source directory follows:

sourcesets { main { java { srcdirs = ["src"] } } }

java build compiler-errors gradle

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -