-
Notifications
You must be signed in to change notification settings - Fork 190
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
feat: Upgrade to Java 11 and module system #1165
Conversation
Make Playwright finally easy to use in modular projects
@microsoft-github-policy-service agree |
I'm pretty confident in saying that the submitted PR won't be merged, no problem, I'll use my fork
@@ -37,9 +37,9 @@ | |||
</build> | |||
<dependencies> | |||
<dependency> | |||
<groupId>com.microsoft.playwright</groupId> | |||
<groupId>io.github.palexdev.playwright</groupId> |
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.
Revert this and similar changes in other pom.xml files
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.
Oh I'm very sorry for this, I didn't know the commit would be automatically added to the PR
Since I needed the library in one of my modular projects yesterday I decided to publish artifacts on my maven repo
I'll update the PR in the morning
<artifactId>driver</artifactId> | ||
<version>${project.version}</version> | ||
<version>1.30.0</version> |
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.
ditto
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.
Same issue of above sorry
@@ -42,7 +42,7 @@ | |||
</modules> | |||
|
|||
<properties> | |||
<compiler.version>1.8</compiler.version> | |||
<compiler.version>11</compiler.version> |
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.
Is it compatible with Java 8 or will it break the clients whose source version is set to 1.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.
No it won't work with Java 8 anymore
The module system has been introduced by Java 9, the closest LTS release is JDK11
Make Playwright finally easy to use in modular projects
Oh, this will also require the update of workflows to use at least JDK11