Skip to content

Commit

Permalink
Drop Java 8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
guizmaii committed Sep 30, 2023
1 parent 4288285 commit a5de8f6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 226 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ on:
types: [ published ] # Triggers the CI when a new GitHub Release is published

env:
JAVA_OPTS: -Xms6g -Xmx6g -XX:+UseG1GC
JDK_JAVA_OPTIONS: -Xms6g -Xmx6g -XX:+UseG1GC # See https://stackoverflow.com/a/73708006
# See:
# - https://stackoverflow.com/a/73708006
# - https://stackoverflow.com/questions/73465937/apache-spark-3-3-0-breaks-on-java-17-with-cannot-access-class-sun-nio-ch-direct
JDK_JAVA_OPTIONS: -Xms6g -Xmx6g -XX:+UseG1GC --add-exports java.base/sun.nio.ch=ALL-UNNAMED

jobs:
build:
Expand All @@ -27,7 +29,7 @@ jobs:
uses: actions/[email protected]
with:
distribution: temurin
java-version: '8'
java-version: '17'
check-latest: true

- name: Scala ${{ matrix.scala }} Building ${{ matrix.module }}
Expand All @@ -47,7 +49,7 @@ jobs:
uses: actions/[email protected]
with:
distribution: temurin
java-version: '8'
java-version: '17'
check-latest: true
- run: sbt ci-release
env:
Expand Down
219 changes: 0 additions & 219 deletions .travis.yml

This file was deleted.

6 changes: 4 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,8 @@ lazy val basicSettings = Seq(
scalacOptions ++= Seq(
"-language:implicitConversions", "-explain",
// See https://docs.scala-lang.org/scala3/guides/migration/tooling-syntax-rewriting.html
"-no-indent"
)
"-no-indent",
"-release:11",
),
javacOptions := Seq("-source", "11", "-target", "11"),
)
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ services:
- ~/.m2:/root/.m2:cached
- ~/.sbt:/root/.sbt:cached
environment:
- SBT_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -Dfile.encoding=UTF-8 -Xms512m -Xmx1536m -Xss2m -XX:ReservedCodeCacheSize=256m -XX:+TieredCompilation -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC
- SBT_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -Dfile.encoding=UTF-8 -Xms512m -Xmx1536m -Xss2m -XX:ReservedCodeCacheSize=256m -XX:+TieredCompilation
- POSTGRES_HOST=postgres
- POSTGRES_PORT=5432
- MYSQL_HOST=mysql
Expand Down

0 comments on commit a5de8f6

Please sign in to comment.