From 53b325d52208bfd44ba6a524ce3dda5379aed699 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 17 Oct 2019 18:53:08 +0200 Subject: Move the plugins to the separate directory. Fix common module detection. --- kvision-tools/kvision-gradle-plugin/build.gradle | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 kvision-tools/kvision-gradle-plugin/build.gradle (limited to 'kvision-tools/kvision-gradle-plugin/build.gradle') 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" +} -- cgit