mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-01-19 14:43:57 +01:00
Merge pull request #564 from torkelrogstad/2019-07-03-scaladoc-fix
Move Xsource flag into commonCompilerOpts
This commit is contained in:
commit
9151a03782
@ -16,7 +16,8 @@ lazy val timestamp = new java.util.Date().getTime
|
||||
lazy val commonCompilerOpts = {
|
||||
List(
|
||||
"-Xmax-classfile-name",
|
||||
"128"
|
||||
"128",
|
||||
"-Xsource:2.12"
|
||||
)
|
||||
}
|
||||
|
||||
@ -35,8 +36,7 @@ lazy val compilerOpts = Seq(
|
||||
"-Ywarn-unused",
|
||||
"-unchecked",
|
||||
"-deprecation",
|
||||
"-feature",
|
||||
"-Xsource:2.12"
|
||||
"-feature"
|
||||
) ++ commonCompilerOpts
|
||||
|
||||
lazy val testCompilerOpts = commonCompilerOpts
|
||||
@ -54,7 +54,7 @@ lazy val commonSettings = List(
|
||||
),
|
||||
////
|
||||
// scaladoc settings
|
||||
Compile / doc / scalacOptions := List(
|
||||
Compile / doc / scalacOptions ++= List(
|
||||
"-doc-title",
|
||||
"Bitcoin-S",
|
||||
"-doc-version",
|
||||
|
Loading…
Reference in New Issue
Block a user