Created
December 15, 2013 04:51
-
-
Save lifuzu/7969039 to your computer and use it in GitHub Desktop.
Using FileCollection addition to create a runtime classpath
This file contains hidden or 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
//Using FileCollection addition to create a runtime classpath | |
task run(type: JavaExec) { | |
main = 'org.gradle.example.PoetryEmitter' | |
classpath = configurations.compile + sourceSets.main.output | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment