title: HP Fortify scan using Gradle
body: <p>I am using the configuration below in build.gradle for running HP Fortify scan:</p>
  
  <pre><code>// Fortify configuration
  configurations {
    fortify { extendsFrom compile }
  }
  
  // pull in the fortify libs for the new configuration
  dependencies {
    fortify 'com.fortify:sourceanalyzer:3.90'
  }
  
  task fortifyReport(dependsOn: compileJava) &lt;&lt; {
    ant.properties['build.compiler']='com.fortify.dev.ant.SCACompiler'
    ant.typedef(name: 'sca', classname: 'com.fortify.dev.ant.SourceanalyzerTask', classpath: configurations.fortify.asPath)
    ant.sca(jdk:"1.7",
      debug:true ,
      verbose:true ,
      failonerror:true ,
      scan:true ,
      logFile:file("$buildDir/reports/fortify/Fortify.log"),
      resultsFile:file("$buildDir/reports/fortify/${project.name}.fpr")
    ){
      fileset(dir:'src/main') {
        include(name:'**/*.java')
      }
    }
  }
  </code></pre>
  
  <p>But when executing I am getting the below:</p>
  
  <pre><code>* What went wrong:
  Execution failed for task ':fortifyReport'.
  &gt; Could not resolve all dependencies for configuration 'detachedConfiguration157'.
  &gt; Could not find com.fortify:sourceanalyzer:3.90.
  </code></pre>
  
  <p>I am not able to find the sourceanalyzer:3.90 plugin on the internet. Please advise on how to resolve this issue.</p>