mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-01-18 21:34:39 +01:00
Move Xsource flag into commonCompilerOpts
For the last few builds publishing snapshots has failed. This is because Scaladocs haven't been compiling with the Xsource flag, which we need for 2.11/2.12 compat reasons.
This commit is contained in:
parent
243e6cb65b
commit
6d2f2e9444
@ -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