aboutsummaryrefslogtreecommitdiff
path: root/kvision-tools/kvision-compiler-plugin/build.gradle
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-10-17 18:53:08 +0200
committerRobert Jaros <rjaros@finn.pl>2019-10-17 18:53:08 +0200
commit53b325d52208bfd44ba6a524ce3dda5379aed699 (patch)
tree62f57b410bbe7c0a6e0ea725b2924f6d4b1294de /kvision-tools/kvision-compiler-plugin/build.gradle
parentb554eb31aba039c8dbb4cda7069cd4c6d53ada27 (diff)
downloadkvision-53b325d52208bfd44ba6a524ce3dda5379aed699.tar.gz
kvision-53b325d52208bfd44ba6a524ce3dda5379aed699.tar.bz2
kvision-53b325d52208bfd44ba6a524ce3dda5379aed699.zip
Move the plugins to the separate directory.
Fix common module detection.
Diffstat (limited to 'kvision-tools/kvision-compiler-plugin/build.gradle')
-rw-r--r--kvision-tools/kvision-compiler-plugin/build.gradle16
1 files changed, 16 insertions, 0 deletions
diff --git a/kvision-tools/kvision-compiler-plugin/build.gradle b/kvision-tools/kvision-compiler-plugin/build.gradle
new file mode 100644
index 00000000..3b00300c
--- /dev/null
+++ b/kvision-tools/kvision-compiler-plugin/build.gradle
@@ -0,0 +1,16 @@
+apply plugin: 'kotlin-platform-jvm'
+apply plugin: "kotlin-kapt"
+apply plugin: "maven"
+
+dependencies {
+ compile "de.jensklingenberg:mpapt-runtime:$mpaptRuntimeVersion"
+ expectedBy project(":kvision-modules:kvision-common-annotations")
+ implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
+ compileOnly "org.jetbrains.kotlin:kotlin-compiler-embeddable"
+ compileOnly "com.google.auto.service:auto-service:$autoServiceVersion"
+ kapt "com.google.auto.service:auto-service:$autoServiceVersion"
+}
+
+kapt {
+ includeCompileClasspath = false
+}