update to scala 3.1.2

This commit is contained in:
hrj 2022-04-13 07:34:11 +05:30
parent b50df7ec2f
commit a9b630724d
4 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@ ENV PATH=$PATH:${JAVA_HOME}/bin
FROM base-core
WORKDIR /lc-core
COPY --from=builder /build/target/scala-3.1.1/LibreCaptcha.jar .
COPY --from=builder /build/target/scala-3.1.2/LibreCaptcha.jar .
RUN mkdir data/
EXPOSE 8888

View File

@ -6,7 +6,7 @@ ENV PATH=$PATH:${JAVA_HOME}/bin
FROM base-core
RUN mkdir /lc-core
COPY target/scala-3.1.1/LibreCaptcha.jar /lc-core
COPY target/scala-3.1.2/LibreCaptcha.jar /lc-core
WORKDIR /lc-core
RUN mkdir data/

View File

@ -2,7 +2,7 @@ lazy val root = (project in file(".")).settings(
inThisBuild(
List(
organization := "com.example",
scalaVersion := "3.1.1",
scalaVersion := "3.1.2",
version := "0.2.1-snapshot",
semanticdbEnabled := true,
semanticdbVersion := scalafixSemanticdb.revision

View File

@ -4,7 +4,7 @@ python3 -m venv testEnv
source ./testEnv/bin/activate
pip install locust
mkdir -p data/
java -jar target/scala-3.1.1/LibreCaptcha.jar &
java -jar target/scala-3.1.2/LibreCaptcha.jar &
JAVA_PID=$!
sleep 4
@ -22,7 +22,7 @@ echo Run functional test
cp data/config.json data/config.json.bak
cp tests/debug-config.json data/config.json
java -jar target/scala-3.1.1/LibreCaptcha.jar &
java -jar target/scala-3.1.2/LibreCaptcha.jar &
JAVA_PID=$!
sleep 4