11plugins {
22 id " groovy"
33 id " maven-publish"
4- id " signing"
54
65 // Ignored as it depends on Java 11; can uncomment and use Java 11 when it needs to be run
76 // id "com.github.jk1.dependency-license-report" version "2.1"
@@ -12,8 +11,13 @@ plugins {
1211 id " io.snyk.gradle.plugin.snykplugin" version " 0.4"
1312}
1413
14+ // Applied conditionally so that it does not take effect when publishing locally.
15+ if (project. hasProperty(" signing.keyId" )) {
16+ apply plugin : " signing"
17+ }
18+
1519group = " com.marklogic"
16- version = " 4.6.1 "
20+ version = " 4.7-SNAPSHOT "
1721
1822java {
1923 sourceCompatibility = 1.8
@@ -24,18 +28,18 @@ repositories {
2428 mavenLocal()
2529 mavenCentral()
2630 maven {
27- url " https://nexus.marklogic. com/repository/ maven-snapshots/"
31+ url " https://bed-artifactory.bedford.progress. com:443/artifactory/ml- maven-snapshots/"
2832 }
2933}
3034
3135dependencies {
3236 implementation gradleApi()
3337 implementation localGroovy()
3438
35- api ' com.marklogic:ml-app-deployer:4.6.1 '
39+ api ' com.marklogic:ml-app-deployer:4.7-SNAPSHOT '
3640 implementation " com.marklogic:mlcp-util:1.0.1"
3741 implementation " com.marklogic:marklogic-data-movement-components:2.7.0"
38- implementation " commons-io:commons-io:2.11.0 "
42+ implementation " commons-io:commons-io:2.15.1 "
3943
4044 compileOnly " com.marklogic:marklogic-unit-test-client:1.4.0"
4145
@@ -51,23 +55,20 @@ dependencies {
5155}
5256
5357task sourcesJar (type : Jar , dependsOn : classes) {
54- classifier ' sources'
58+ archiveClassifier = ' sources'
5559 from sourceSets. main. allJava
5660 from sourceSets. main. allGroovy
5761}
5862
5963task javadocJar (type : Jar , dependsOn : javadoc) {
60- classifier " javadoc"
64+ archiveClassifier = " javadoc"
6165 from javadoc
6266}
6367javadoc. failOnError = false
6468
6569artifacts {
6670 archives javadocJar, sourcesJar
6771}
68- signing {
69- sign configurations. archives
70- }
7172
7273task generatePomForDependencyGraph (dependsOn : " generatePomFileForMainJavaPublication" ) {
7374 description = " Prepare for a release by making a copy of the generated pom file in the root directory so that it " +
@@ -113,8 +114,6 @@ publishing {
113114 }
114115 }
115116 from components. java
116- artifact sourcesJar
117- artifact javadocJar
118117 }
119118 }
120119 repositories {
0 commit comments