title: Gradle: illegal repetition error
body: <p>just started to use artifactory so as to manage all the libraries that i use..therefore i had to have the artifactory plugin. I used the screencast tutorial at <a href="http://www.jfrog.com/confluence/display/RTF/Gradle+Artifactory+Plugin" rel="nofollow">http://www.jfrog.com/confluence/display/RTF/Gradle+Artifactory+Plugin</a> and added the buildScript as follows to download the plugin..</p>
  
  <pre><code>buildscript { 
  
  repositories { 
  
      maven { url 'http://localhost:8081/artifactory/plugins-release' 
  
          credentials { 
              username = "${artifactory_user}" 
              password = "${artifactory_password}" 
          } 
      } 
  } 
  
      dependencies { 
  
          classpath (
              group: 'org.jfrog.buildinfo', name: 
                                   'build-info-extractor-gradle', version: '2.1.0'
          ) 
      } 
  </code></pre>
  
  <p>} </p>
  
  <p>then in gradle.properties file in my gradleUserHomeDir, i have the following, the password is encrypted by artifactory.</p>
  
  <pre><code>artifactory_user=admin
  artifactory_password={DESede}ifW8DYgu849GR8EnzUMOlj/L8cwy6FQfRZgHHTyj9L0=
  artifactory_contextUrl=http://localhost:8081/artifactory
  </code></pre>
  
  <p>Then i ran gradle tasks. the plugin was downloaded yes, but something is going wrong. this is the output</p>
  
  <p>The TaskContainer.add() method has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the create() method instead.</p>
  
  <p>FAILURE: Build failed with an exception.</p>
  
  <ul>
  <li><p>Where:
  Build file 'S:\src\JEE-Workspace\movieplex7\build.gradle' line: 47</p></li>
  <li><p>What went wrong:
  A problem occurred evaluating root project 'movieplex7'.</p>
  
  <blockquote>
    <p>Illegal repetition
    {DESede}ifW8DYgu849GR8EnzUMOlj/L8cwy6FQfRZgHHTyj9L0=</p>
  </blockquote></li>
  </ul>
  
  <p>here is the build.gradle</p>
  
  <pre><code>buildscript { 
  
  repositories { 
  
      maven { url 'http://localhost:8081/artifactory/plugins-release' 
  
          credentials { 
              username = "${artifactory_user}" 
              password = "${artifactory_password}" 
          } 
      } 
  } 
  
      dependencies { 
  
          classpath (
              group: 'org.jfrog.buildinfo', 
                              name: 'build-info-extractor-gradle', version: '2.1.0'
          ) 
      } 
  } 
  
  apply plugin: 'war'
  apply plugin: 'maven'
  apply plugin: 'eclipse-wtp'
  apply plugin: 'artifactory'
  
  
  project.description = 'Java EE 7 Hands-on Lab'
  version= '1.0'
  group = 'org.glassfish.movieplex7'
  
  artifactory { 
  
  contextUrl = "${artifactory_contextUrl}"
  publish {
      repository {
          repoKey = 'libs-release-local' 
          username = "${artifactory_user}" 
          password = "${artifactory_password}" 
          maven = true 
      } 
  }
  
  resolve { 
  
      repository { 
          repoKey = 'libs-release' username = "${artifactory_user}" 
                      password = "${artifactory_password}" maven = true 
      } 
  } 
  
  
  }
  
  dependencies {
  
  providedCompile 'javax:javaee-api:7.0'
  //providedCompile 'org.glassfish.main.extras:glassfish-embedded-web:4.0'
  </code></pre>
  
  <p>}</p>