Skip to content
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

Closed
wants to merge 2 commits into from

Conversation

palexdev
Copy link

@palexdev palexdev commented Jan 10, 2023

Make Playwright finally easy to use in modular projects

Oh, this will also require the update of workflows to use at least JDK11

Make Playwright finally easy to use in modular projects
@palexdev
Copy link
Author

@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>
Copy link
Member

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

Copy link
Author

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>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

Copy link
Author

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>
Copy link
Member

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?

Copy link
Author

@palexdev palexdev Jan 11, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants