We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df3e961 commit 022db17Copy full SHA for 022db17
.github/workflows/ci.yml
@@ -20,4 +20,4 @@ jobs:
20
- name: install sbt
21
run: curl -Ls https://git.io/sbt > ./sbt && chmod 0755 ./sbt
22
- name: test
23
- run: ./sbt -v -J--enable-preview -Djdk_version=${{matrix.java}} scalafmtCheckAll scalafmtSbtCheck +test
+ run: ./sbt -v -J--enable-preview scalafmtCheckAll scalafmtSbtCheck +test
build.sbt
@@ -1,8 +1,6 @@
1
import ReleaseTransformations._
2
3
-def jdkVersion: String = sys.props.get("jdk_version").flatMap(_.split('-').headOption).getOrElse("15")
4
-
5
-javacOptions ++= Seq("--enable-preview", "--release", jdkVersion)
+javacOptions ++= Seq("--enable-preview", "--release", scala.util.Properties.javaSpecVersion)
6
7
organization := "com.github.xuwei-k"
8
name := "shapeless-java-records"
0 commit comments