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

The build.gradle file is not refreshed when the JBang script changes #1693

Closed
gastaldi opened this issue Oct 5, 2023 · 0 comments · Fixed by #1728
Closed

The build.gradle file is not refreshed when the JBang script changes #1693

gastaldi opened this issue Oct 5, 2023 · 0 comments · Fixed by #1728
Labels
bug Something isn't working

Comments

@gastaldi
Copy link
Contributor

gastaldi commented Oct 5, 2023

Describe the bug
The build.gradle file is not refreshed when the JBang script changes

To Reproduce
Steps to reproduce the behavior:

  1. jbang init import_docs.java
  2. jbang edit -b --live --open=idea import_docs.java
  3. Then add //DEPS org.yaml:snakeyaml:2.0 to the import_docs.java and save the file

Expected behavior
The build.gradle file changes and the IDE updates the project dependencies

JBang version

[jbang] [0:161] jbang version 0.107.0
Cache: /Users/ggastald/.jbang/cache
Config: /Users/ggastald/.jbang
Repository:/Users/ggastald/.m2/repository
0.107.0
@gastaldi gastaldi added the bug Something isn't working label Oct 5, 2023
quintesse added a commit to quintesse/jbang that referenced this issue Jan 8, 2024
It was using existing, stale, Project instance to update the build file
which resulted in the build file never actually being updated.

Fixes jbangdev#1693
maxandersen pushed a commit that referenced this issue Feb 3, 2024
It was using existing, stale, Project instance to update the build file
which resulted in the build file never actually being updated.

Fixes #1693
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant