Permalink
Browse files

Fixed peoject dependencies of 'test' scope

Version is now 1.0.2
  • Loading branch information...
1 parent cdba63f commit 7a38e656362b3257b1e400626dfc938c068e5f0f @dcaoyuan committed Mar 5, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 README.md
  2. +1 −1 nbsbt-core/src/main/scala/org/netbeans/nbsbt/core/NetBeans.scala
  3. +1 −1 version.sbt
View
@@ -14,7 +14,7 @@ This project is derived from [https://github.com/typesafehub/sbteclipse](https:/
1. Add nbsbt to your plugin definition file. You can use either the global one at ~/.sbt/plugins/plugins.sbt or the project-specific one at PROJECT_DIR/project/plugins.sbt:
- addSbtPlugin("org.netbeans.nbsbt" % "nbsbt-plugin" % "1.0.1")
+ addSbtPlugin("org.netbeans.nbsbt" % "nbsbt-plugin" % "1.0.2")
1. In sbt, you can use the command "netbeans" to generate NetBeans project files (Note: run this command under the top project):
@@ -441,7 +441,7 @@ private object NetBeans extends NetBeansSDTConfig {
val dependencyRef = dependency.project
val name = setting(Keys.name in dependencyRef, state)
val baseDir = setting(Keys.baseDirectory in dependencyRef, state)
- val classDir = setting(Keys.classDirectory in (dependencyRef, configuration), state) fold (f => f.fail, s => success(Option(s)))
+ val classDir = setting(Keys.classDirectory in (dependencyRef, Configurations.Compile), state) fold (f => f.fail, s => success(Option(s)))
(name |@| baseDir |@| classDir)(Prj)
}
val projectDependenciesSeq = projectDependencies.sequence
View
@@ -1 +1 @@
-version in ThisBuild := "1.0.1"
+version in ThisBuild := "1.0.2"

0 comments on commit 7a38e65

Please sign in to comment.