Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
openmole
mgo
Commits
7e1e7154
Commit
7e1e7154
authored
Jan 06, 2020
by
Romain Reuillon
Browse files
Update libs, prepare for 2.13
parent
1e40c0cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
build.sbt
View file @
7e1e7154
...
...
@@ -7,16 +7,25 @@ crossScalaVersions in ThisBuild := Seq("2.12.10")
val
monocleVersion
=
"2.0.0"
def
settings
=
Seq
(
addCompilerPlugin
(
"org.spire-math"
%%
"kind-projector"
%
"0.9.10"
),
addCompilerPlugin
(
"org.scalamacros"
%%
"paradise"
%
"2.1.1"
cross
CrossVersion
.
full
),
scalacOptions
+=
"-Xplugin-require:macroparadise"
,
//addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.9.10"),
resolvers
+=
Resolver
.
sonatypeRepo
(
"public"
),
resolvers
+=
Resolver
.
sonatypeRepo
(
"staging"
),
resolvers
+=
Resolver
.
sonatypeRepo
(
"snapshots"
),
scalacOptions
++=
Seq
(
"-target:jvm-1.8"
),
javacOptions
++=
Seq
(
"-source"
,
"1.8"
,
"-target"
,
"1.8"
),
scalariformAutoformat
:=
true
)
++
scalariformSettings
(
true
)
)
++
scalariformSettings
(
true
)
++
paradise
def
paradise
=
Seq
(
addCompilerPlugin
(
"org.scalamacros"
%%
"paradise"
%
"2.1.1"
cross
CrossVersion
.
full
),
scalacOptions
++=
Seq
(
"-target:jvm-1.8"
)
)
/* 2.13 */
/*Seq(
scalacOptions ++= Seq("-target:jvm-1.8", "-language:postfixOps", "-Ymacro-annotations")
)*/
lazy
val
mgo
=
Project
(
id
=
"mgo"
,
base
=
file
(
"mgo"
))
settings
(
settings
:
_
*
)
settings
(
// macro paradise doesn't work with scaladoc
...
...
@@ -27,9 +36,9 @@ lazy val mgo = Project(id = "mgo", base = file("mgo")) settings(settings: _*) se
libraryDependencies
+=
"com.github.julien-truffaut"
%%
"monocle-generic"
%
monocleVersion
,
libraryDependencies
+=
"com.github.julien-truffaut"
%%
"monocle-macro"
%
monocleVersion
,
libraryDependencies
+=
"org.typelevel"
%%
"squants"
%
"1.
5
.0"
,
libraryDependencies
+=
"org.typelevel"
%%
"squants"
%
"1.
6
.0"
,
libraryDependencies
+=
"org.typelevel"
%%
"cats-core"
%
"2.
0
.0"
,
//
libraryDependencies += "org.typelevel" %% "cats-core" % "2.
1
.0",
libraryDependencies
+=
"com.github.pathikrit"
%%
"better-files"
%
"3.8.0"
,
testOptions
in
Test
+=
Tests
.
Argument
(
TestFrameworks
.
ScalaCheck
,
"-verbosity"
,
"1"
)
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment