Browse Source

Remove defunct getCredentials method from build script.

pull/410/head
Chris Smith 9 years ago
parent
commit
66dc04191b
1 changed files with 1 additions and 16 deletions
  1. 1
    16
      build.gradle

+ 1
- 16
build.gradle View File

@@ -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 {

Loading…
Cancel
Save