Discussion:
Possible to have compileJava dependsOn compileScala
Rice Yeh
2013-11-25 03:47:48 UTC
Permalink
Hi,
It seems that compileScala depends on compileJava in scala plugin. In my
case, I need the opposite way to have compileJava depends on compileJava
or to have compileScala replace the compileJava. Is this possible? and How?

Rice
Rice Yeh
2013-11-25 07:13:18 UTC
Permalink
My build script in gradle 1.9 is like below and it works.

compileScala.dependsOn.remove 'compileJava'
compileJava {
dependsOn 'compileScala'
}

dependencies {
compile files(compileScala.destinationDir)
}
Post by Rice Yeh
Hi,
It seems that compileScala depends on compileJava in scala plugin. In my
case, I need the opposite way to have compileJava depends on compileJava
or to have compileScala replace the compileJava. Is this possible? and How?
Rice
Loading...