From 5137db7df04b633b7b9ebfed58c32b0013c2e678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigrid=20Solveig=20Hafl=C3=ADnud=C3=B3ttir?= Date: Sat, 1 Jan 2022 19:46:58 +0100 Subject: [PATCH] android: enable deprecation warnings --- src/android/build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/android/build.gradle b/src/android/build.gradle index 68dd356..381fc26 100644 --- a/src/android/build.gradle +++ b/src/android/build.gradle @@ -1,5 +1,14 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. + +allprojects { + gradle.projectsEvaluated { + tasks.withType(JavaCompile) { + options.deprecation = true + } + } +} + buildscript { repositories { mavenCentral()