Skip to content

Commit dbde9bc

Browse files
Modified build.gradle and removed maven pom.xml and other assembly files
1 parent 3d53923 commit dbde9bc

File tree

5 files changed

+6
-474
lines changed

5 files changed

+6
-474
lines changed

marklogic-client-api/build.gradle

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apply plugin: 'maven'
22
apply plugin: 'maven-publish'
3-
apply plugin: 'java-library-distribution'
3+
apply plugin: 'distribution'
44

55
group = 'com.marklogic'
66

@@ -61,8 +61,6 @@ task javadocJar (type: Jar, dependsOn: javadoc) {
6161
from javadoc.destinationDir
6262
}
6363

64-
task generateJavaDocs
65-
6664
Node pomCustomizations = new NodeBuilder(). project {
6765
name '$rootProject.describedName'
6866
packaging 'jar'
@@ -131,6 +129,7 @@ publishing {
131129

132130
distZip {
133131
archiveName= "$project.name-$rootProject.version-with-dependencies.zip"
132+
dependsOn javadoc
134133
}
135134

136135
distributions {
@@ -161,6 +160,10 @@ distributions {
161160
into ("doc/api") {
162161
from ("build/docs/javadoc")
163162
}
163+
into("lib") {
164+
from jar
165+
from(project.configurations.runtime)
166+
}
164167
}
165168
}
166169
}

0 commit comments

Comments
 (0)