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

Fix build on windows #6257

Merged
merged 2 commits into from Sep 10, 2020
Merged

Fix build on windows #6257

merged 2 commits into from Sep 10, 2020

Conversation

yschimke
Copy link
Collaborator

@yschimke yschimke commented Sep 9, 2020

See stackoverflow for why this is required, related to the gradle daemon.

https://stackoverflow.com/a/34717160/1542667

I don't currently have any concern that their is a logic bug with string encodings in src/main, but rather that strings in tests are compiled assuming the wrong file encoding, changing the test meaning.

@yschimke
Copy link
Collaborator Author

yschimke commented Sep 9, 2020

image

windows-1252!

@yschimke
Copy link
Collaborator Author

yschimke commented Sep 9, 2020

Typical errors

image

build.gradle Outdated
@@ -123,6 +123,12 @@ subprojects { project ->
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

compileJava.options.encoding = 'UTF-8'
Copy link
Member

Choose a reason for hiding this comment

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

Delete? The second one applies to compileJava as it is a JavaCompile instance.

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