@@ -2,7 +2,8 @@ plugins {
22 id ' java'
33 id ' java-gradle-plugin'
44 id ' maven-publish'
5- id ' org.jetbrains.kotlin.jvm' version ' 1.2.51'
5+ id ' com.gradle.plugin-publish' version ' 0.10.0'
6+ id ' org.jetbrains.kotlin.jvm' version ' 1.2.51'
67}
78
89apply plugin : ' kotlin'
@@ -43,22 +44,30 @@ publishing {
4344 }
4445}
4546
47+ pluginBundle {
48+ website = ' http://www.gradle.org/'
49+ vcsUrl
= ' [email protected] :marklogic/java-client-api.git' 50+ description = ' marklogic-client-tools plugin for developing data services on MarkLogic'
51+ tags = [' marklogic' , ' development tools' , ' data services' ]
52+
53+ plugins {
54+ marklogicClientToolsPlugin {
55+ id = ' com.marklogic.client.tools'
56+ displayName = ' marklogic-client-tools Development Tools for MarkLogic'
57+ description = ' Gradle plugin for developing data services on MarkLogic'
58+ tags = [' marklogic' , ' development tools' , ' data services' ]
59+ version = project. version
60+ }
61+ }
62+ }
63+
4664compileKotlin {
4765 kotlinOptions. jvmTarget = ' 1.8'
4866}
4967compileTestKotlin {
5068 kotlinOptions. jvmTarget = ' 1.8'
5169}
5270
53- /*
54- test {
55- filter {
56- includeTestsMatching "com.marklogic.client.test.dbfunction.*Test"
57- includeTestsMatching "com.marklogic.client.test.gradle.*TaskTest"
58- }
59- }
60- */
61-
6271task setupTestServer (type : JavaExec ) {
6372 classpath = sourceSets. test. runtimeClasspath
6473 main = ' com.marklogic.client.test.dbfunction.FntestconfKt'
0 commit comments