Created
October 31, 2012 14:01
-
-
Save saltnlight5/3987181 to your computer and use it in GitHub Desktop.
build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Gragle build script for a Java application | |
apply plugin: 'java' | |
repositories { mavenCentral() } | |
dependencies { | |
testCompile( | |
//compile(fileTree(dir: gradle.gradleHomeDir, include: 'lib/**/*.jar')), | |
'org.hamcrest:hamcrest-library:1.3', | |
'junit:junit:4.11-beta-1' | |
) | |
compile( | |
'org.slf4j:slf4j-api:1.7.1', | |
'commons-lang:commons-lang:2.6', | |
'commons-io:commons-io:2.4' | |
) | |
runtime( | |
'org.slf4j:slf4j-log4j12:1.7.1' | |
) | |
} | |
apply plugin: 'application' | |
mainClassName = 'deng.ServiceRunner' | |
apply plugin: 'eclipse' | |
eclipse.classpath.defaultOutputDir = new File(buildDir, 'eclipse-output') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment