summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2022-11-05 11:14:20 +0100
committerJoel Klinghed <the_jk@spawned.biz>2022-11-05 11:14:20 +0100
commit7daade1c4d3756e67fe14c87d5212f0c9f77205c (patch)
tree24030f9b373b3d110a641e3f3e68a43ab47d6436 /build.gradle
parentb3467614c5917a1c24afa30ae9101984f09a0b0b (diff)
Add support for kotlin by adding flycheck-android-kotlin checker
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle7
1 files changed, 6 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 3d698e7..c6c995d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -44,6 +44,11 @@ class PackageTask extends DefaultTask {
return project.file('bin/flycheck-android-java.py')
}
+ @InputFile
+ File getKotlinPythonScript() {
+ return project.file('bin/flycheck-android-kotlin.py')
+ }
+
@OutputFile
File getOutput() {
return new File(project.buildDir, "${packageName}.tar")
@@ -60,7 +65,7 @@ class PackageTask extends DefaultTask {
into target
}
project.copy {
- from(javaPythonScript)
+ from(javaPythonScript, kotlinPythonScript)
into bin
}
project.exec {