Skip to content
#

Scala

scala logo

Scala is a general-purpose programming language providing support for functional programming and a strong static type system. Designed to be concise, many of Scala's design decisions aimed to address criticisms of Java.

Here are 135 public repositories matching this topic...

MatthewEdge
MatthewEdge commented Apr 20, 2018

Wanted to notify you of a really strange issue I ran into and my fix. I was using the following Dockerfile for a simple multi-stage SBT build:

FROM bigtruedata/sbt AS build
WORKDIR /app
COPY . .
RUN sbt assembly

FROM openjdk:8-alpine
COPY --from=build /app/target/scala-2.12/app.jar /app/app.jar
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "/app/app.jar"]

Which, after all the bu

novakov-alexey
novakov-alexey commented Dec 18, 2018

README example is obsolete for latest SBT version:

Run style check before compilation

Add the following sbt settings:

compile in Compile <<= (compile in Compile) dependsOn (jcheckStyle in Compile)
compile in Test <<= (compile in Test) dependsOn (jcheckStyle in Test)

Working configuration:

Compile / compile := (Compile / compile).dependsOn(Compile / jcheckStyle).val

Created by Martin Odersky

Released January 20, 2004

Website
www.scala-lang.org
Wikipedia
Wikipedia
You can’t perform that action at this time.