summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
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 ()