author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 20 Mar 2017 16:09:01 +0200 (2017-03-20) | |
changeset 2119 | 3fd683bb6af2 |
parent 2118 | df69c36275d6 |
child 2120 | 5f5defb2793f |
gradle.rst | file | annotate | diff | comparison | revisions |
--- a/gradle.rst Mon Mar 20 15:50:32 2017 +0200 +++ b/gradle.rst Mon Mar 20 16:09:01 2017 +0200 @@ -93,6 +93,14 @@ options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" } +To apply change recursively to subprojects:: + + subprojects { + tasks.withType(JavaCompile) { + options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" + } + } + Run main class ============== ::