diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2018-02-15 22:28:25 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2018-02-15 22:56:31 +0100 |
| commit | 5ea5ec068a5cd7d4b1328b6c14a34d17ac69f69d (patch) | |
| tree | bfdd4c6a3067fa82bb3cce576f96de426bcfcde7 /README | |
| parent | 16a80d8a9062d22327c9e0e135aabd1931f949b2 (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-- | README | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |
