Skip to content

Commit df391a0

Browse files
committed
Add Play 2.7.7
1 parent de8ccb5 commit df391a0

File tree

5 files changed

+53
-37
lines changed

5 files changed

+53
-37
lines changed

2.7.4/Dockerfile

Lines changed: 0 additions & 29 deletions
This file was deleted.

2.7.7/Dockerfile

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
FROM openjdk:11-jdk
2+
3+
RUN echo "deb http://dl.bintray.com/sbt/debian /" | tee -a /etc/apt/sources.list.d/sbt.list
4+
5+
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
6+
7+
RUN apt-get update && apt-get install -y \
8+
unzip \
9+
bash \
10+
openssh-client \
11+
nodejs \
12+
git \
13+
ca-certificates \
14+
fontconfig \
15+
xvfb \
16+
libpango1.0-0 \
17+
libxss1 \
18+
fonts-liberation \
19+
libappindicator1 \
20+
xdg-utils \
21+
libgtk-3-0 \
22+
lsb-release \
23+
libnss3 \
24+
libgbm1 \
25+
libappindicator3-1 \
26+
sbt=1.3.6 \
27+
libasound2 \
28+
libxtst6 \
29+
&& rm -rf /var/lib/apt/lists/*
30+
31+
RUN cd /opt \
32+
&& wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
33+
&& dpkg -i google-chrome-stable_current_amd64.deb \
34+
&& rm -f google-chrome-stable_current_amd64.deb
35+
36+
RUN cd /opt \
37+
&& wget https://chromedriver.storage.googleapis.com/86.0.4240.22/chromedriver_linux64.zip \
38+
&& unzip chromedriver_linux64.zip \
39+
&& rm -f chromedriver_linux64.zip
40+
41+
COPY play /tmp/play
42+
43+
RUN cd /tmp/play && sbt test && rm -Rf /tmp/play
44+
45+
VOLUME /src

2.7.4/play/build.sbt renamed to 2.7.7/play/build.sbt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
lazy val root = (project in file(".")).enablePlugins(PlayJava, PlayEbean, SbtWeb)
22

3-
scalaVersion := "2.12.10"
3+
scalaVersion := "2.11.12"
44

55
libraryDependencies ++= Seq(
66
javaJdbc,
@@ -18,9 +18,10 @@ libraryDependencies ++= Seq(
1818
"com.github.rjeschke" % "txtmark" % "0.13",
1919
"org.yaml" % "snakeyaml" % "1.17",
2020
"org.seleniumhq.selenium" % "selenium-chrome-driver" % "3.141.59" % "test",
21-
"org.apache.commons" % "commons-lang3" % "3.10",
2221
"io.swagger" %% "swagger-play2" % "1.6.1",
2322
"com.fasterxml.jackson.datatype" % "jackson-datatype-joda" % "2.9.10",
24-
"org.glassfish.jaxb" % "jaxb-core" % "2.3.0.1",
25-
"org.glassfish.jaxb" % "jaxb-runtime" % "2.3.2"
23+
"org.apache.commons" % "commons-lang3" % "3.8.1",
24+
"com.h2database" % "h2" % "1.4.192" % "test",
25+
"javax.xml.bind" % "jaxb-api" % "2.3.1",
26+
"org.glassfish.jaxb" % "jaxb-runtime" % "2.3.1",
2627
)
File renamed without changes.

2.7.4/play/project/plugins.sbt renamed to 2.7.7/play/project/plugins.sbt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@ resolvers += Resolver.bintrayIvyRepo("lolhens", "sbt-plugins")
22

33

44
// The Play plugin
5-
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.7.4")
5+
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.7.7")
66

77
// web plugins
8-
addSbtPlugin("com.typesafe.sbt" % "sbt-play-ebean" % "5.0.2")
8+
addSbtPlugin("com.typesafe.sbt" % "sbt-play-ebean" % "5.0.0")
99
addSbtPlugin("com.typesafe.sbt" % "sbt-web" % "1.4.4")
1010
addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.1.2")
1111
addSbtPlugin("com.github.akiomik" % "sbt-uglify-es" % "1.0.0")
1212
addSbtPlugin("de.lolhens.sbt" % "sbt-css-compress" % "0.2.0")
1313
addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.1.3")
1414
addSbtPlugin("com.typesafe.sbt" % "sbt-gzip" % "1.0.2")
15-
addSbtPlugin("com.github.sbt" % "sbt-jacoco" % "3.1.0")
16-
15+
addSbtPlugin("com.github.sbt" % "sbt-jacoco" % "3.2.0")

0 commit comments

Comments
 (0)