aboutsummaryrefslogtreecommitdiff
path: root/kvision-tools/kvision-gradle-plugin/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'kvision-tools/kvision-gradle-plugin/build.gradle')
-rw-r--r--kvision-tools/kvision-gradle-plugin/build.gradle20
1 files changed, 20 insertions, 0 deletions
diff --git a/kvision-tools/kvision-gradle-plugin/build.gradle b/kvision-tools/kvision-gradle-plugin/build.gradle
new file mode 100644
index 00000000..7b2d0f33
--- /dev/null
+++ b/kvision-tools/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"
+}