mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-02-15 02:57:07 +01:00
11
.scalafmt.conf
Normal file
11
.scalafmt.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
project.git = true
|
||||
|
||||
maxColumn = 120
|
||||
docstrings = JavaDoc
|
||||
|
||||
align = true
|
||||
align.openParenCallSite = false
|
||||
align.openParenDefnSite = false
|
||||
continuationIndent.callSite = 2
|
||||
continuationIndent.defnSite = 2
|
||||
danglingParentheses = true
|
||||
@@ -17,6 +17,8 @@ name := Name
|
||||
version := GitBucketVersion
|
||||
scalaVersion := "2.12.5"
|
||||
|
||||
scalafmtOnCompile := true
|
||||
|
||||
// dependency settings
|
||||
resolvers ++= Seq(
|
||||
Classpaths.typesafeReleases,
|
||||
@@ -25,6 +27,7 @@ resolvers ++= Seq(
|
||||
"sonatype-snapshot" at "https://oss.sonatype.org/content/repositories/snapshots/",
|
||||
"amateras-snapshot" at "http://amateras.sourceforge.jp/mvn-snapshot/"
|
||||
)
|
||||
|
||||
libraryDependencies ++= Seq(
|
||||
"org.eclipse.jgit" % "org.eclipse.jgit.http.server" % "4.11.0.201803080745-r",
|
||||
"org.eclipse.jgit" % "org.eclipse.jgit.archive" % "4.11.0.201803080745-r",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature")
|
||||
|
||||
addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "1.4.0")
|
||||
addSbtPlugin("com.typesafe.sbt" % "sbt-twirl" % "1.3.13")
|
||||
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.5")
|
||||
//addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.0.0")
|
||||
|
||||
Reference in New Issue
Block a user