From ffd46b6d5e2c210fd5b608a4f8ad4a83c3002c5f Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Wed, 16 Dec 2020 20:08:38 +0100 Subject: [PATCH] SOP: Do not apply animalsniffer to pgpainless-sop --- build.gradle | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 53caf778..7d38069d 100644 --- a/build.gradle +++ b/build.gradle @@ -28,13 +28,15 @@ allprojects { apply plugin: 'jacoco' apply plugin: 'checkstyle' - // animalsniffer - apply plugin: 'ru.vyarus.animalsniffer' - dependencies { - signature "net.sf.androidscents.signature:android-api-level-${pgpainlessMinAndroidSdk}:2.3.1_r2@signature" - } - animalsniffer { - sourceSets = [sourceSets.main] + if (!it.name.equals('pgpainless-sop')) { + // animalsniffer + apply plugin: 'ru.vyarus.animalsniffer' + dependencies { + signature "net.sf.androidscents.signature:android-api-level-${pgpainlessMinAndroidSdk}:2.3.1_r2@signature" + } + animalsniffer { + sourceSets = [sourceSets.main] + } } // checkstyle