Created
January 13, 2015 11:52
-
-
Save oddbjornkvalsund/41897367d86b484fc752 to your computer and use it in GitHub Desktop.
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
apply plugin: 'java' | |
task runDBTask(type: JavaExec) { | |
main = 'DBTask' | |
classpath = sourceSets.main.runtimeClasspath | |
} | |
task runPollTask(type: JavaExec, dependsOn: 'runDBTask') { | |
main = 'PollTask' | |
classpath = sourceSets.main.runtimeClasspath | |
doFirst { | |
Thread.sleep(2000) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment