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

Replace of a entry in gradle.variables kills isEqualTo #157

Open
Timbuktu1982 opened this issue Jan 18, 2023 · 2 comments
Open

Replace of a entry in gradle.variables kills isEqualTo #157

Timbuktu1982 opened this issue Jan 18, 2023 · 2 comments

Comments

@Timbuktu1982
Copy link

Hi there,

when i add a entry in gradle.variables -> ext via insert, all processed correctly.
When i use "replace", the isEqualTo char is killed.

 - file: variables.gradle
              target:
                  ext:
              insertType: "variable"
              insert:
                  - firebaseMessagingVersion: "'20.0.6'"

All will be processed correctly in target file (firebaseMessagingVersion = '20.0.6').

- file: variables.gradle
              target:
                  ext:
                      firebaseMessagingVersion:
              replace:
                  - firebaseMessagingVersion: "'20.0.7'"

The command kills the = (firebaseMessagingVersion '20.0.7').

What went wrong?

@mlynch
Copy link
Contributor

mlynch commented Jan 18, 2023

I think I need to add the insertType support to replace. Will put this on the list

@Timbuktu1982
Copy link
Author

thx

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

No branches or pull requests

2 participants