Skip to content

Commit

Permalink
chore: fix runMod task
Browse files Browse the repository at this point in the history
* add explicit dependency of vertx-hazelcast
* apply fix from vert-x#31, thanks to @minus7 and @avdv.
* reformat indentation to 2 spaces
  • Loading branch information
macedigital committed Nov 18, 2014
1 parent f1573bb commit aa57e56
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions gradle/vertx.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ repositories {
dependencies {
provided "io.vertx:vertx-core:$vertxVersion"
provided "io.vertx:vertx-platform:$vertxVersion"
provided "io.vertx:vertx-hazelcast:$vertxVersion"
testCompile "junit:junit:$junitVersion"
testCompile "io.vertx:testtools:$toolsVersion"
}
Expand Down Expand Up @@ -127,7 +128,7 @@ task sourceJar(type: Jar) {
}

javadoc {
classpath = configurations.compile + configurations.provided
classpath = configurations.compile + configurations.provided
}

task javadocJar(type: Jar) {
Expand Down Expand Up @@ -171,7 +172,7 @@ task collectDeps(type: Copy) {
}

// We also init here - this means for single module builds the user doesn't have to explicitly init -
task runMod(description: 'Run the module', dependsOn: [collectDeps, init]) << {
task runMod(description: 'Run the module', dependsOn: [collectDeps, copyMod, init]) << {
def args = ['runmod', moduleName]
def args2 = runModArgs.split("\\s+")
args.addAll(args2)
Expand All @@ -187,7 +188,9 @@ def doInit() {
"bin\r\n" +
"out/production/${project.name}\r\n" +
"out/test/${project.name}\r\n" +
"build/deps\r\n";
"build/deps\r\n" +
"build/classes/main\r\n" +
"build/resources/main\r\n";
cpFile << defaultCp;
}
def args = ['create-module-link', moduleName]
Expand Down

0 comments on commit aa57e56

Please sign in to comment.