diff options
| -rw-r--r-- | README | 45 | ||||
| -rw-r--r-- | build.gradle | 2 |
2 files changed, 46 insertions, 1 deletions
@@ -0,0 +1,45 @@ +============================================================================= +For the user +============================================================================= +First of all, make sure you have flycheck installed. + +Download Emacs package from: +http://www.spawned.biz/flycheck-android/flycheck-android-experimental.tar +Install using 'package-install-file. + +Add the below to your Emacs init file somewhere: +(add-to-list + 'java-mode-hook + '(lambda () (require 'flycheck-android-experimental))) + +Then, in your root build.gradle, add: +buildscript { + repositories { + maven { + url uri('http://www.spawned.biz/the_jk/repo') + } + // ... + } + dependencies { + classpath 'org.thejk:flycheck-android-experimental:0.1' + // ... + } +} + +allprojects { + apply plugin: 'org.thejk.flycheck-android-experimental' +} + +That should be it. + +============================================================================= +For the developer +============================================================================= +Two important gradle tasks: + +./gradlew uploadArchive +Build the gradle plugin jar and upload the "../repo" repository by default. + +./gradle packageList +Build the Emacs package placing it in +build/flycheck-android-experimental-0.1.tar diff --git a/build.gradle b/build.gradle index dffeaea..0af1d8e 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ dependencies { apply plugin: 'maven' group = 'org.thejk' -version = '0.1-SNAPSHOT' +version = '0.1' uploadArchives { repositories { |
