tpunder /
fm-sbt-s3-resolver
SBT Plugin that adds support for resolving and publishing using Amazon S3
43/100 healthLoading repository data…
sbt / repository
sbt plugin adding support for source code formatting using Scalariform
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Welcome to sbt-scalariform, an sbt plugin adding support for source code formatting using Scalariform.
addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.8.3")
Imports
import scalariform.formatter.preferences._
Example Preferences:
scalariformPreferences := scalariformPreferences.value
.setPreference(AlignSingleLineCaseStatements, true)
.setPreference(DoubleIndentConstructorArguments, true)
.setPreference(DanglingCloseParenthesis, Preserve)
Sources are automatically formatted on compile and test:compile by default.
To enable Scalariform for integration tests in addition to compile and test:compile add to the build:
scalariformItSettings
Other useful configuration options are provided by sbt setting keys:
includeFilter in scalariformFormat: Defaults to *.scalaexcludeFilter in scalariformFormat: Using the default of sbtCopy default Scalariform preferences
and create a preferences file globally in ~/.scalariform.conf, or locally in projectRoot/.scalariform.conf.
Modify preferences accordingly.
Note: It is not recommended to mix build and filesystem level preferences. If for some reason this is required,
to override, for example, global filesystem preferences, create an empty .scalariform.conf file in the project root
and define build level preferences accordingly.
Custom configuration options can be applied in the build, or in a .scalariform.conf preferences file.
Build
scalariformAutoformat := false
scalariformWithBaseDirectory := true
Filesystem
add to the top of target .scalariform.conf file:
autoformat=false
withBaseDirectory=true
This code is open source software licensed under the Apache 2.0 License.
Selected from shared topics, language and repository description—not editorial ratings.
tpunder /
SBT Plugin that adds support for resolving and publishing using Amazon S3
43/100 healthminiboxing /
Miniboxing is a program transformation that improves the performance of Scala generics when used with primitive types. It can speed up generic collections by factors between 1.5x and 22x, while maintaining bytecode duplication to a minimum. You can easily add miniboxing to your sbt project:
53/100 healthalexarchambault /
A sbt plugin that adds scala-notebook capabilities to sbt projects
polentino /
sbt plugin to add and configure redacted compiler plugin and annotation library in your sbt build
76/100 healthcarlos8080 /
This plugin adds an SBT task to generate Tables.scala classes automatically, for Typesafe Slick usage on Scala Play applications.
27/100 healthEvildethow /
Simple bootstrap script that publishes github.com/jberkel/android-plugin to local repository and adds github.com/paulp/sbt-extras as the sbt runner for a project
27/100 health