You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In IntelliJ IDEA, we are using the google-java-format plugin, so that the code style matches between IDE and build. However, IDE plugins offer updates rather often or install them automatically, so we are concerned that the version of GoogleJavaFormat could diverge between IDE and build in the future.
We thought about configuring spotless to automatically pick the latest version of the format according to some version range notation, for example in NPM notation:
We couldn't find anything related in the spotless docs or issue tracker, so we just tried these two notations and they did not work.
Is something like that supported, or a possible feature in the future?
The text was updated successfully, but these errors were encountered:
Is it possible to use a "flexible" version for googleJavaFormat, e.g. to tell spotless "use version 1.21.0 or newer"?
Details:
We are currently using spotless like this in our builds:
In IntelliJ IDEA, we are using the google-java-format plugin, so that the code style matches between IDE and build. However, IDE plugins offer updates rather often or install them automatically, so we are concerned that the version of GoogleJavaFormat could diverge between IDE and build in the future.
We thought about configuring spotless to automatically pick the latest version of the format according to some version range notation, for example in NPM notation:
Or in oldschool Maven notation:
We couldn't find anything related in the spotless docs or issue tracker, so we just tried these two notations and they did not work.
Is something like that supported, or a possible feature in the future?
The text was updated successfully, but these errors were encountered: