summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-01-24 23:49:37 +0100
committerJoel Klinghed <the_jk@yahoo.com>2017-01-24 23:49:37 +0100
commitc5773e2906c3c53a004b63a0b8d0eedee80498e2 (patch)
tree70acb8c0608a5b387c60bf86da54de9e8f48df4e /README
parentc8b66e4ba111638de97db80f543989d61f6dddc4 (diff)
Bump gradle plugin 0.3.2 and add support for initscript plugin
Diffstat (limited to 'README')
-rw-r--r--README22
1 files changed, 21 insertions, 1 deletions
diff --git a/README b/README
index 117ae20..4cb9ab1 100644
--- a/README
+++ b/README
@@ -12,6 +12,9 @@ Add the below to your Emacs init file somewhere:
'java-mode-hook
'(lambda () (require 'flycheck-android-experimental)))
+= Then you have two choices, the most direct is to include flycheck
+= plugin directly to your project:
+
Then, in your root build.gradle, add:
buildscript {
repositories {
@@ -30,9 +33,26 @@ allprojects {
apply plugin: 'org.thejk.flycheck-android-experimental'
}
+= Or you can apply it to your gradle init script, applying the task
+= to *all* projects
+
+Put in $HOME/.gradle/init.gradle or $HOME/.gradle/init.d/flycheck-android.gradle:
+initscript {
+ repositories {
+ maven {
+ url uri('http://www.spawned.biz/the_jk/repo')
+ }
+ }
+ dependencies {
+ classpath 'org.thejk:flycheck-android-experimental:0.3.2'
+ }
+}
+
+apply plugin: org.thejk.FlycheckAndroidExperimentalInitPlugin
+
That should be it.
-If you use checkstyle, you can expand the java-mode-hook:
+= If you use checkstyle, you can expand the java-mode-hook:
(add-to-list
'java-mode-hook
'(lambda ()