author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 20 Mar 2017 15:50:32 +0200 (2017-03-20) | |
changeset 2118 | df69c36275d6 |
parent 2117 | 22f21cc41569 |
child 2119 | 3fd683bb6af2 |
gradle.rst | file | annotate | diff | comparison | revisions |
--- a/gradle.rst Wed Mar 15 01:00:46 2017 +0200 +++ b/gradle.rst Mon Mar 20 15:50:32 2017 +0200 @@ -83,6 +83,16 @@ $ gradle compileJava $ gradle compileTestJava +Build with additional options and checks:: + + compileJava { + options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" + } + compileTestJava { + options.encoding = 'UTF-8' + options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" + } + Run main class ============== ::