summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2018-02-15 22:28:25 +0100
committerJoel Klinghed <the_jk@spawned.biz>2018-02-15 22:56:31 +0100
commit5ea5ec068a5cd7d4b1328b6c14a34d17ac69f69d (patch)
treebfdd4c6a3067fa82bb3cce576f96de426bcfcde7 /README
parent16a80d8a9062d22327c9e0e135aabd1931f949b2 (diff)
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.
Diffstat (limited to 'README')
-rw-r--r--README10
1 files changed, 10 insertions, 0 deletions
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