mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
TM-23 compileAll task to compile all code (#5490)
* Add simple compileAll task to be used by warning check * lazy configure compileAll
This commit is contained in:
parent
2f466b568d
commit
7bbbc71fdf
@ -239,7 +239,7 @@ allprojects {
|
||||
// JDK11 official support (https://github.com/jacoco/jacoco/releases/tag/v0.8.3)
|
||||
toolVersion = "0.8.3"
|
||||
}
|
||||
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" << "-Xlint:-options" << "-parameters"
|
||||
if (warnings_as_errors) {
|
||||
@ -262,6 +262,10 @@ allprojects {
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register('compileAll') { task ->
|
||||
task.dependsOn tasks.withType(AbstractCompile)
|
||||
}
|
||||
|
||||
tasks.withType(Jar) { task ->
|
||||
// Includes War and Ear
|
||||
manifest {
|
||||
|
Loading…
Reference in New Issue
Block a user