From 5ea5ec068a5cd7d4b1328b6c14a34d17ac69f69d Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Thu, 15 Feb 2018 22:28:25 +0100 Subject: Generate configurations for all variants Add new option, flycheck-android-java-variant, if a matching variant is found the matching configuration is used. If no matching variant is found the first one is used - same as if you had not set a variant. Variant is case-sensitive. --- README | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'README') diff --git a/README b/README index 3290fb1..5615a14 100644 --- a/README +++ b/README @@ -52,6 +52,16 @@ apply plugin: org.thejk.FlycheckAndroidExperimentalInitPlugin That should be it. += If you have product flavors you might want to specify which += variant should be used. + +(add-to-list + 'java-mode-hook + '(lambda () + (progn + (require 'flycheck-android-experimental) + (setq flycheck-android-java-variant "devArm7Debug")))) + = If you use checkstyle, you can expand the java-mode-hook: (add-to-list 'java-mode-hook -- cgit v1.2.3-70-g09d2