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
By googling for the version, I actually thought this is supposed to be a reference to https://mvnrepository.com/artifact/com.diffplug.spotless/spotless-eclipse-jdt, which has version 4.8.1 (which also has major 4, so it looked similar) and is also under this package. But using eclipse("4.8.1") in Gradle causes error:
Caused by: java.lang.NumberFormatException: For input string: "8.1"
at com.diffplug.spotless.extra.EquoBasedStepBuilder.addPlatformRepo(EquoBasedStepBuilder.java:86)
which isn't very user-friendly tbh.
Additionally, I'd like to ask you to document the behavior of these libraries. When we specify a version number, where exactly does it download and "cache" anything, i.e. can we explicitly specify Gradle dependencies for it, so that there is absolutely no API call against any live third-party domain when we build our project? And when we don't specify any version, does it use latest as defined by our Spotless plugin version, or does it actually pull the latest changes after each build, which could actually break our build (and introduce security risks)? Thanks.
Versions:
Gradle 8.9
id("com.diffplug.spotless") version "7.0.0.BETA1"
Windows 10
The text was updated successfully, but these errors were encountered:
README.md section eclipse-jdt contains links:
By googling for the version, I actually thought this is supposed to be a reference to https://mvnrepository.com/artifact/com.diffplug.spotless/spotless-eclipse-jdt, which has version 4.8.1 (which also has major 4, so it looked similar) and is also under this package. But using
eclipse("4.8.1")
in Gradle causes error:which isn't very user-friendly tbh.
Additionally, I'd like to ask you to document the behavior of these libraries. When we specify a version number, where exactly does it download and "cache" anything, i.e. can we explicitly specify Gradle dependencies for it, so that there is absolutely no API call against any live third-party domain when we build our project? And when we don't specify any version, does it use latest as defined by our Spotless plugin version, or does it actually pull the latest changes after each build, which could actually break our build (and introduce security risks)? Thanks.
The text was updated successfully, but these errors were encountered: