Ver código fonte

Kill getCredentials

pull/31/head
Chris Smith 9 anos atrás
pai
commit
d2138e9c84
1 arquivos alterados com 1 adições e 16 exclusões
  1. 1
    16
      build.gradle

+ 1
- 16
build.gradle Ver arquivo

56
     gradleVersion = '2.2.1'
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
 buildscript {
62
 buildscript {

Carregando…
Cancelar
Salvar