-
Notifications
You must be signed in to change notification settings - Fork 12
replace junit with junit jupiter for java 9 and later #209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Now, I am investigating into following errors. 3 NPE and a
Update: After removing comment out , it runs successfully. before lazy val `interface-test` = project
.disablePlugins(MimaPlugin)
// .dependsOn(interface)
...after lazy val `interface-test` = project
.disablePlugins(MimaPlugin)
.dependsOn(interface)
... |
| apps: sbt-launcher | ||
| - name: Test | ||
| run: ./.github/scripts/ci.sh | ||
| - name: Test on java 8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wrote here according to ci.sh. Is it better to add evictionCheck,mimaReportBinaryIssues, and so on for java 11?
| 'set version in ThisBuild := "'"${{ env.TEST_VERSION }}"'"' | ||
| publishLocal | ||
| env: | ||
| JAVA_11_COMPAT: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have any idea to add libraryJars option to ProguardOptions only when using Java 11?
I just added this workaround.
I tried to pass setting by 'set proguardOptions := {proguardOptions++=Seq("-libraryjars $JAVA_HOME/jmods/java.base.jmod")}.key.value' +test , but it won't work.
|
Thanks for opening this. I'm not sure this is mergeable as is, but I cherry-picked one of your commit in #215. I'm not sure we absolutely need a Java 11 job on the CI, although it's nice to have. I might try to add one later on. |
|
@alexarchambault |
I'm going to replace junit with junit 5(junit jupiter ) for Java 9 and later compatibility.
note: -libraryJars path/to/javahome/jmods is necesarry to avoid the error below.