-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compile for scala 2.12 and 2.13
- Loading branch information
Showing
12 changed files
with
78 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,3 +145,4 @@ snapshots | |
native.iml | ||
|
||
checkpoint | ||
.bsp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM adoptopenjdk/openjdk11 as dev | ||
LABEL Author="Keshav Murthy" | ||
|
||
RUN apt-get update && apt-get install -y gnupg2 apt-transport-https | ||
|
||
RUN \ | ||
echo "deb https://dl.bintray.com/sbt/debian /" | tee -a /etc/apt/sources.list.d/sbt.list && \ | ||
apt-key adv --keyserver hkps://keyserver.ubuntu.com:443 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823 && \ | ||
apt-get update && \ | ||
apt-get install -y \ | ||
sbt=1.4.9 \ | ||
ca-certificates | ||
|
||
RUN update-ca-certificates | ||
|
||
WORKDIR /app | ||
|
||
#Create docker container with the dependencies so subsequent builds are faster | ||
ADD build.sbt ./ | ||
ADD ./project ./project | ||
RUN sbt update | ||
|
||
ADD . /app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: '3' | ||
|
||
services: | ||
dev: | ||
build: | ||
context: . | ||
volumes: | ||
- .:/app:cached | ||
environment: | ||
- SBT_OPTS=-Xms512M -Xmx2G -Xss2M -XX:MaxMetaspaceSize=1024M -XX:+CMSClassUnloadingEnabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
// Copyright 2016 Carl Pulley | ||
|
||
import sbt.Keys._ | ||
import sbt._ | ||
|
||
object Dependencies { | ||
val cats: ModuleID = "org.typelevel" %% "cats-core" % "1.0.1" | ||
val ficus: ModuleID = "com.iheart" %% "ficus" % "1.4.3" | ||
val refined: ModuleID = "eu.timepit" %% "refined" % "0.8.7" | ||
val scalatest: ModuleID = "org.scalatest" %% "scalatest" % "3.0.5" | ||
val cats: ModuleID = "org.typelevel" %% "cats-core" % "2.5.0" | ||
val ficus: ModuleID = "com.iheart" %% "ficus" % "1.5.0" | ||
val refined: ModuleID = "eu.timepit" %% "refined" % "0.9.23" | ||
val scalatest: ModuleID = "org.scalatest" %% "scalatest" % "3.2.5" | ||
val typesafeConfig: ModuleID = "com.typesafe" % "config" % "1.3.3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=0.13.15 | ||
sbt.version=1.4.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,12 @@ | ||
|
||
// Copyright 2016 Carl Pulley | ||
|
||
scalacOptions ++= Seq("-deprecation", "-Xlint", "-unchecked", "-language:_") | ||
|
||
resolvers += "Typesafe Repository" at "https://repo.typesafe.com/typesafe/releases/" | ||
resolvers += "jgit-repo" at "http://download.eclipse.org/jgit/maven" | ||
|
||
addSbtPlugin("com.codacy" % "sbt-codacy-coverage" % "1.3.8") | ||
addSbtPlugin("com.dwijnand" % "sbt-travisci" % "1.1.0") | ||
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0-M1") | ||
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.1") | ||
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.2.1") | ||
addSbtPlugin("com.updateimpact" % "updateimpact-sbt-plugin" % "2.1.2") | ||
addSbtPlugin("com.versioneye" % "sbt-versioneye-plugin" % "0.2.0") | ||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC6") | ||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.0") | ||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1") | ||
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.0") | ||
addSbtPlugin("com.codacy" % "sbt-codacy-coverage" % "3.0.3") | ||
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.3") | ||
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// Copyright 2016 Carl Pulley | ||
|
||
version in ThisBuild := "1.1.3" | ||
version in ThisBuild := "1.1.4" |