From 3fe96cbe465e05f4445d5ea89f872938910b0995 Mon Sep 17 00:00:00 2001 From: Jimmy Holzer Date: Thu, 7 Jun 2018 10:40:11 -0700 Subject: [PATCH] Enable baseline for lint --- .travis.yml | 2 +- box-content-sdk/build.gradle | 2 +- box-content-sdk/lint-baseline.xml | 600 ++++++++++++++++++++++++++++++ 3 files changed, 602 insertions(+), 2 deletions(-) create mode 100644 box-content-sdk/lint-baseline.xml diff --git a/.travis.yml b/.travis.yml index e579aece..061315c0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ android: - android-26 script: - - ./gradlew test + - ./gradlew test lint after_success: - .utility/initiate-publish.sh diff --git a/box-content-sdk/build.gradle b/box-content-sdk/build.gradle index 0900a077..9593c6ca 100644 --- a/box-content-sdk/build.gradle +++ b/box-content-sdk/build.gradle @@ -33,7 +33,7 @@ android { } lintOptions { - abortOnError false + baseline file("lint-baseline.xml") } dexOptions { diff --git a/box-content-sdk/lint-baseline.xml b/box-content-sdk/lint-baseline.xml new file mode 100644 index 00000000..f2227a8b --- /dev/null +++ b/box-content-sdk/lint-baseline.xml @@ -0,0 +1,600 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +