aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-gradle-plugin/build.gradle
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-10-17 14:30:10 +0200
committerRobert Jaros <rjaros@finn.pl>2019-10-17 14:31:12 +0200
commitcb01930ae5174070aad9d1d7297e91b897340230 (patch)
tree320e6f7dece8161eab6a983199d2e88857f60d20 /kvision-modules/kvision-gradle-plugin/build.gradle
parent1830797fbe4a7fda6958b4a13d46acf121a5288d (diff)
downloadkvision-cb01930ae5174070aad9d1d7297e91b897340230.tar.gz
kvision-cb01930ae5174070aad9d1d7297e91b897340230.tar.bz2
kvision-cb01930ae5174070aad9d1d7297e91b897340230.zip
Kotlin compiler plugin and gradle plugin
Diffstat (limited to 'kvision-modules/kvision-gradle-plugin/build.gradle')
-rw-r--r--kvision-modules/kvision-gradle-plugin/build.gradle20
1 files changed, 20 insertions, 0 deletions
diff --git a/kvision-modules/kvision-gradle-plugin/build.gradle b/kvision-modules/kvision-gradle-plugin/build.gradle
new file mode 100644
index 00000000..7b2d0f33
--- /dev/null
+++ b/kvision-modules/kvision-gradle-plugin/build.gradle
@@ -0,0 +1,20 @@
+apply plugin: 'kotlin-platform-jvm'
+apply plugin: "java-gradle-plugin"
+apply plugin: "kotlin-kapt"
+apply plugin: "maven"
+
+gradlePlugin {
+ plugins {
+ simplePlugin {
+ id = "pl.treksoft.kvision"
+ implementationClass = "pl.treksoft.kvision.gradle.KVisionGradlePlugin"
+ }
+ }
+}
+
+dependencies {
+ implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
+ compile "org.jetbrains.kotlin:kotlin-gradle-plugin-api:$kotlinVersion"
+ compileOnly "com.google.auto.service:auto-service:$autoServiceVersion"
+ kapt "com.google.auto.service:auto-service:$autoServiceVersion"
+}