diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-10-17 18:53:08 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-10-17 18:53:08 +0200 |
commit | 53b325d52208bfd44ba6a524ce3dda5379aed699 (patch) | |
tree | 62f57b410bbe7c0a6e0ea725b2924f6d4b1294de /kvision-tools/kvision-gradle-plugin/build.gradle | |
parent | b554eb31aba039c8dbb4cda7069cd4c6d53ada27 (diff) | |
download | kvision-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-gradle-plugin/build.gradle')
-rw-r--r-- | kvision-tools/kvision-gradle-plugin/build.gradle | 20 |
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" +} |