Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle7
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()