Skip to content

Commit 2fe6163

Browse files
committed
Simplify SBT setup.
1 parent 4273f85 commit 2fe6163

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

scala-console/build.sbt

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -24,33 +24,15 @@ mainClass in (Compile, packageBin) := Some("net.sf.ij_plugins.scala.console.Scal
2424
// change Compile to Test to set it for 'test:run'
2525
mainClass in (Compile, run) := Some("net.sf.ij_plugins.scala.console.ScalaConsoleApp")
2626

27-
// Extra dependent libraries, in addition to those in 'lib' subdirectory
28-
libraryDependencies <+= scalaVersion { "org.scala-lang" % "scala-compiler" % _ }
29-
30-
libraryDependencies <+= scalaVersion { "org.scala-lang" % "scala-swing" % _ }
31-
32-
// Test dependencies
3327
libraryDependencies ++= Seq(
28+
"org.scala-lang" % "scala-compiler" % scalaVersion.value,
29+
"org.scala-lang" % "scala-swing" % scalaVersion.value,
3430
"net.imagej" % "ij" % "1.47v",
3531
"com.fifesoft" % "rsyntaxtextarea" % "2.0.6",
3632
"junit" % "junit" % "4.11" % "test"
3733
)
3834

39-
//
40-
// Use ScalaCL compiler plugin
41-
//
42-
resolvers ++= Seq(
43-
"Sonatype OSS Snapshots Repository" at "http://oss.sonatype.org/content/groups/public/",
44-
"ImageJ Releases" at "http://maven.imagej.net/content/repositories/releases/"
45-
)
46-
47-
//resolvers += "NativeLibs4Java Repository" at "http://nativelibs4java.sourceforge.net/maven/"
48-
49-
// libraryDependencies += "com.nativelibs4java" % "scalacl" % "0.2"
50-
51-
//autoCompilerPlugins := true
52-
53-
//addCompilerPlugin("com.nativelibs4java" % "scalacl-compiler-plugin" % "0.2")
35+
resolvers += "ImageJ Releases" at "http://maven.imagej.net/content/repositories/releases/"
5436

5537
// fork a new JVM for 'run' and 'test:run'
5638
fork := true

0 commit comments

Comments
 (0)