-
Notifications
You must be signed in to change notification settings - Fork 120
SBT & SBT with eclipse
Awantik Das edited this page Mar 23, 2018
·
1 revision
-
Install sbt
-
Gt to .sbt inside C:/User/Zekelabs/.sbt
-
Create a plugins dir insode e.g 0.13 director
-
Create plugins.sbt inside plugins
-
Add below line to plugins.sbt file addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "4.0.0") This enables sbt project to be used by eclipse OR 'sbt eclipse' will throw error
-
Now Create scala project folder - MyProj
-
Create src/main/scala inside this
-
Create object class file with main or extends App
-
Create build.sbt in proj dir name := "Hello IBM"
version := "1.0"
scalaVersion := "2.11.11"
- Go to project dir & do sbt package to create jar