From c5773e2906c3c53a004b63a0b8d0eedee80498e2 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Tue, 24 Jan 2017 23:49:37 +0100 Subject: Bump gradle plugin 0.3.2 and add support for initscript plugin --- README | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'README') 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 () -- cgit v1.2.3-70-g09d2