Skip to content

Commit

Permalink
get IDEA scopes right
Browse files Browse the repository at this point in the history
  • Loading branch information
purplefox committed Mar 14, 2013
1 parent 271e242 commit 9c04a23
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions build.gradle
Expand Up @@ -96,4 +96,16 @@ def configurePom(def pom) {
setProperty('project.build.sourceEncoding', 'UTF8')
}
}
}

// Map the 'provided' dependency configuration to the appropriate IDEA visibility scopes.
plugins.withType(IdeaPlugin) {
idea {
module {
scopes.PROVIDED.plus += configurations.provided
scopes.COMPILE.minus += configurations.provided
scopes.TEST.minus += configurations.provided
scopes.RUNTIME.minus += configurations.provided
}
}
}
2 changes: 1 addition & 1 deletion vertx.properties
Expand Up @@ -10,4 +10,4 @@ version=2.0.0-SNAPSHOT
# The test timeout
testtimeout=300

nettyVersion=3.6.2.Final
nettyVersion=4.0.0.Beta3-SNAPSHOT

0 comments on commit 9c04a23

Please sign in to comment.