|
@@ -111,22 +111,7 @@ findbugs {
|
111
|
111
|
ignoreFailures = true
|
112
|
112
|
}
|
113
|
113
|
|
114
|
|
-task getCredentials << {
|
115
|
|
- def target = file('nexus-teamcity.gradle')
|
116
|
|
- if (!target.exists()) {
|
117
|
|
- new URL('http://www.dmdirc.com/private/nexus-teamcity.gradle').withInputStream{
|
118
|
|
- i -> target.withOutputStream { it << i }
|
119
|
|
- }
|
120
|
|
- }
|
121
|
|
-
|
122
|
|
- apply from: 'nexus-teamcity.gradle'
|
123
|
|
- project.publishing.repositories[0].credentials {
|
124
|
|
- username "$nexusUser"
|
125
|
|
- password "$nexusPass"
|
126
|
|
- }
|
127
|
|
-}
|
128
|
|
-
|
129
|
|
-task publishSnapshot(dependsOn: ['getCredentials', 'publishMavenJavaPublicationToSnapshotsRepository']) << {
|
|
114
|
+task publishSnapshot(dependsOn: 'publishMavenJavaPublicationToSnapshotsRepository') << {
|
130
|
115
|
}
|
131
|
116
|
|
132
|
117
|
task createVersionConfig {
|