summaryrefslogtreecommitdiff
path: root/README
blob: b01226f564c09b3738e6e61ce27fd5c2201864f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
=============================================================================
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
=============================================================================

Get the code at git://git.spawned.biz/srv/git/flycheck-android-experimental.git

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