Skip to content

Commit e4a86c0

Browse files
author
ehennum
committed
configuration for publishPlugins task for Gradle plugin portal #976
1 parent 3745a5e commit e4a86c0

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed

marklogic-development-tools/build.gradle

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -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

89
apply 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+
4664
compileKotlin {
4765
kotlinOptions.jvmTarget = '1.8'
4866
}
4967
compileTestKotlin {
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-
6271
task setupTestServer(type: JavaExec) {
6372
classpath = sourceSets.test.runtimeClasspath
6473
main = 'com.marklogic.client.test.dbfunction.FntestconfKt'

0 commit comments

Comments
 (0)