Browse Source

Kill getCredentials

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

+ 1
- 16
build.gradle View File

@@ -56,22 +56,7 @@ task wrapper(type: Wrapper) {
56 56
     gradleVersion = '2.2.1'
57 57
 }
58 58
 
59
-task getCredentials << {
60
-    def target = file('nexus-teamcity.gradle')
61
-    if (!target.exists()) {
62
-        new URL('http://www.dmdirc.com/private/nexus-teamcity.gradle').withInputStream{
63
-            i -> target.withOutputStream { it << i }
64
-        }
65
-    }
66
-
67
-    apply from: 'nexus-teamcity.gradle'
68
-    project.publishing.repositories[0].credentials {
69
-        username "$nexusUser"
70
-        password "$nexusPass"
71
-    }
72
-}
73
-
74
-task publishSnapshot(dependsOn: ['getCredentials', 'publishMavenJavaPublicationToSnapshotsRepository']) << {
59
+task publishSnapshot(dependsOn: 'publishMavenJavaPublicationToSnapshotsRepository') << {
75 60
 }
76 61
 
77 62
 buildscript {

Loading…
Cancel
Save