Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - apply plugin: 'java'
 - apply plugin: 'application'
 - sourceCompatibility = '1.6'
 - version = '0.1'
 - mainClassName = 'HelloWorld'
 - repositories {
 - maven {
 - url "http://repo.dotcms.com/artifactory/libs-release"
 - }
 - }
 - dependencies {
 - compile (group: 'com.dotcms', name: 'dotcms', version: '2.5.1'){
 - transitive = true
 - }
 - }
 - task printDeps(dependsOn: build) << {
 - configurations*.dependencies.each { println it }
 - }
 - task listJars << {
 - configurations.compile.each { File file -> println file.name }
 - }
 - task list(dependsOn: configurations.compile) << {
 - println "classpath = ${configurations.compile.collect {File file -> file.name}}"
 - }
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment