diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index f0fd30e..aa6b925 100644 --- a/build.gradle +++ b/build.gradle @@ -15,6 +15,13 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +allprojects { + tasks.withType(JavaCompile) { + // TODO include deprecations at some point, but currently they are *many* + options.compilerArgs << "-Xlint:all" << "-Xlint:-deprecation" << "-Xlint:-dep-ann" + } +} + buildscript { repositories { jcenter() |