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

Updates to gradle properties should be picked up when doing full build #758

Closed
andyvanosdale opened this issue Jan 3, 2019 · 0 comments
Closed

Comments

@andyvanosdale
Copy link

I have a gradle.properties file that tracks properties for my gradle project. When I update that file, I found that I need to clean the language server to get it to recognize changes to the file. I would imagine that doing a full build from the command palette would pick up on the updated properties file (or if I added a properties file).

Environment
  • Operating System: Windows 10
  • JDK version: 11
  • Visual Studio Code version: 1.30.1
  • Java extension version: 0.36.0
Steps To Reproduce
  1. Setup a project with Gradle
  2. In the build.gradle file, include a reference to a property, like $FOO
  3. Run a full build (should fail because the property is not defined)
  4. Create a gradle.properties file with the property FOO defined
  5. Run a full build

[attach a sample project reproducing the error]
attach logs

Current Result

The build fails due to the property not defined, even though the new properties file defines it.

Expected Result

The build should see the new property defined and use it

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

3 participants