summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README6
-rw-r--r--bin/flycheck-android-java.py5
-rw-r--r--bin/flycheck-android-kotlin.py2
-rw-r--r--build.gradle4
-rw-r--r--flycheck-android-experimental-pkg.el2
5 files changed, 10 insertions, 9 deletions
diff --git a/README b/README
index 8a77513..698aabb 100644
--- a/README
+++ b/README
@@ -44,7 +44,7 @@ initscript {
}
}
dependencies {
- classpath 'org.thejk:flycheck-android-experimental:0.3.14'
+ classpath 'org.thejk:flycheck-android-experimental:0.3.15'
}
}
@@ -108,9 +108,9 @@ Get the code at git://git.spawned.biz/flycheck-android-experimental.git
Two important gradle tasks:
-./gradlew uploadArchive
+./gradlew publish
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.3.14.tar
+build/flycheck-android-experimental-0.3.15.tar
diff --git a/bin/flycheck-android-java.py b/bin/flycheck-android-java.py
index 28e6415..656640e 100644
--- a/bin/flycheck-android-java.py
+++ b/bin/flycheck-android-java.py
@@ -98,7 +98,8 @@ def run_javac(encoding, source, target, bootcp, cp, files, output, args,
command.extend(['-cp', ':'.join(cp)])
if output:
command.extend(['-d', output])
- command.extend(args)
+ if [x for x in args if x]:
+ command.extend([x for x in args if x])
command.append(sourcefile)
if outdir:
return subprocess.call(command)
@@ -162,7 +163,7 @@ def figure_out_java_compilation(sessiondir, sourcefile, tempfile, checkstyle,
outdir = None
if not output:
- flycheck_cmd = cmd + ['-q', 'flycheckAndroidJava']
+ flycheck_cmd = cmd + ['-q', '--no-configuration-cache', 'flycheckAndroidJava']
output = subprocess.check_output(flycheck_cmd, universal_newlines=True)
if sessiondir != None:
try:
diff --git a/bin/flycheck-android-kotlin.py b/bin/flycheck-android-kotlin.py
index c42f5f4..b61b4be 100644
--- a/bin/flycheck-android-kotlin.py
+++ b/bin/flycheck-android-kotlin.py
@@ -153,7 +153,7 @@ def figure_out_kotlin_compilation(sessiondir, sourcefile, tempfile, detekt,
outdir = None
if not output:
- flycheck_cmd = cmd + ['-q', 'flycheckAndroidKotlin']
+ flycheck_cmd = cmd + ['-q', '--no-configuration-cache', 'flycheckAndroidKotlin']
output = subprocess.check_output(flycheck_cmd, universal_newlines=True)
if sessiondir != None:
try:
diff --git a/build.gradle b/build.gradle
index 55d96c0..e446456 100644
--- a/build.gradle
+++ b/build.gradle
@@ -9,7 +9,7 @@ dependencies {
}
group = 'org.thejk'
-version = '0.3.14'
+version = '0.3.15'
publishing {
repositories {
@@ -75,5 +75,5 @@ class PackageTask extends DefaultTask {
}
task packageLisp(type: PackageTask) {
- packageName 'flycheck-android-experimental-0.3.14'
+ packageName 'flycheck-android-experimental-0.3.15'
}
diff --git a/flycheck-android-experimental-pkg.el b/flycheck-android-experimental-pkg.el
index 0811a85..335378f 100644
--- a/flycheck-android-experimental-pkg.el
+++ b/flycheck-android-experimental-pkg.el
@@ -1,4 +1,4 @@
(define-package
"flycheck-android-experimental"
- "0.3.14"
+ "0.3.15"
"A package with flycheck for android experimental gradle plugin.")