File tree Expand file tree Collapse file tree 4 files changed +57
-22
lines changed
marklogic-unit-test-client
marklogic-unit-test-modules Expand file tree Collapse file tree 4 files changed +57
-22
lines changed Original file line number Diff line number Diff line change @@ -31,26 +31,4 @@ subprojects {
3131 javadoc. failOnError = false
3232 // Ignores warnings on params that don't have descriptions, which is a little too noisy
3333 javadoc. options. addStringOption(' Xdoclint:none' , ' -quiet' )
34-
35- publishing {
36- repositories {
37- maven {
38- if (project. hasProperty(" mavenUser" )) {
39- credentials {
40- username mavenUser
41- password mavenPassword
42- }
43- url publishUrl
44- allowInsecureProtocol = true
45- } else {
46- name = " central"
47- url = mavenCentralUrl
48- credentials {
49- username mavenCentralUsername
50- password mavenCentralPassword
51- }
52- }
53- }
54- }
55- }
5634}
Original file line number Diff line number Diff line change @@ -54,4 +54,23 @@ publishing {
5454 }
5555 }
5656 }
57+ repositories {
58+ maven {
59+ if (project. hasProperty(" mavenUser" )) {
60+ credentials {
61+ username mavenUser
62+ password mavenPassword
63+ }
64+ url publishUrl
65+ allowInsecureProtocol = true
66+ } else {
67+ name = " central"
68+ url = mavenCentralUrl
69+ credentials {
70+ username mavenCentralUsername
71+ password mavenCentralPassword
72+ }
73+ }
74+ }
75+ }
5776}
Original file line number Diff line number Diff line change @@ -54,6 +54,25 @@ publishing {
5454 }
5555 }
5656 }
57+ repositories {
58+ maven {
59+ if (project. hasProperty(" mavenUser" )) {
60+ credentials {
61+ username mavenUser
62+ password mavenPassword
63+ }
64+ url publishUrl
65+ allowInsecureProtocol = true
66+ } else {
67+ name = " central"
68+ url = mavenCentralUrl
69+ credentials {
70+ username mavenCentralUsername
71+ password mavenCentralPassword
72+ }
73+ }
74+ }
75+ }
5776}
5877
5978task createHttpCredentials (type : com.marklogic.gradle.task.MarkLogicTask ) {
Original file line number Diff line number Diff line change @@ -62,4 +62,23 @@ publishing {
6262 artifact modulesJar
6363 }
6464 }
65+ repositories {
66+ maven {
67+ if (project. hasProperty(" mavenUser" )) {
68+ credentials {
69+ username mavenUser
70+ password mavenPassword
71+ }
72+ url publishUrl
73+ allowInsecureProtocol = true
74+ } else {
75+ name = " central"
76+ url = mavenCentralUrl
77+ credentials {
78+ username mavenCentralUsername
79+ password mavenCentralPassword
80+ }
81+ }
82+ }
83+ }
6584}
You can’t perform that action at this time.
0 commit comments