Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 2.65 KB

README.md

File metadata and controls

50 lines (30 loc) · 2.65 KB

sbt-eclipse

Build Status Repository size Scala Steward badge

Plugin for sbt to create Eclipse project definitions. Please see below for installation details and the Documentation for information about configuring sbt-eclipse. Information about contribution policy and license can be found below.

Installation and Basic Usage

  • Open your plugin definition file (or create one if doesn't exist). You can use either:

    • the global file (for version 1.0 and up) at ~/.sbt/SBT_VERSION/plugins/plugins.sbt
    • the project-specific file at PROJECT_DIR/project/plugins.sbt
  • Add sbt-eclipse to the plugin definition file:

    • Version 6.x+ only supports SBT 1.4+. Use 5.2.4 or older for previous versions of SBT
addSbtPlugin("com.github.sbt" % "sbt-eclipse" % "6.0.0")

// For older sbt versions (< 1.4.0)
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "5.2.4")
  • In sbt use the command eclipse to create Eclipse project files

    > eclipse

  • In Eclipse use the Import Wizard to import Existing Projects into Workspace

Contribution policy

Contributions via GitHub pull requests are gladly accepted from their original author.

License

This code is open source software licensed under the Apache 2.0 License. Feel free to use it accordingly.

Maintainers

Releases

Maintainers must run git tag or use the GitHub UI to tag a release. As soon as a tag gets pushed to the repository (or created via the GitHub UI) a release will be pushed to the Maven Central repository. Also on each push to the main branch snapshots will be published.