|
@@ -89,22 +89,7 @@ subprojects {
|
89
|
89
|
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.10.17'
|
90
|
90
|
}
|
91
|
91
|
|
92
|
|
- task getCredentials << {
|
93
|
|
- def target = file('../nexus-teamcity.gradle')
|
94
|
|
- if (!target.exists()) {
|
95
|
|
- new URL('http://www.dmdirc.com/private/nexus-teamcity.gradle').withInputStream{
|
96
|
|
- i -> target.withOutputStream { it << i }
|
97
|
|
- }
|
98
|
|
- }
|
99
|
|
-
|
100
|
|
- apply from: '../nexus-teamcity.gradle'
|
101
|
|
- project.publishing.repositories[0].credentials {
|
102
|
|
- username "$nexusUser"
|
103
|
|
- password "$nexusPass"
|
104
|
|
- }
|
105
|
|
- }
|
106
|
|
-
|
107
|
|
- task publishSnapshot(dependsOn: ['getCredentials', 'publishMavenJavaPublicationToSnapshotsRepository']) << {
|
|
92
|
+ task publishSnapshot(dependsOn: 'publishMavenJavaPublicationToSnapshotsRepository') << {
|
108
|
93
|
}
|
109
|
94
|
|
110
|
95
|
task javadocJar(type: Jar) {
|