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

Under Java 12 and Gradle 5.4.1 the properties file is not found. #6

Closed
ethauvin opened this issue May 27, 2019 · 0 comments
Closed
Assignees

Comments

@ethauvin
Copy link
Owner

Under Java 12 and Gradle 5.4.1 (and probably beyond), the properties file is not found.

You must specify the directory where the properties file is located using the following:

tasks.withType(JavaCompile) {
  options.compilerArgs += [ "-Asemver.project.dir=$projectDir" ]
}
@ethauvin ethauvin self-assigned this May 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant