Closed FinlayRJW closed 1 month ago
Type
Description
An aside, and not a blocker, but I'm curious about making use of the Tooling API here / with intellij-gradle integration generally. From what I've understood, a gradle plugin (or init script, how intellij does it), can register a ToolingModelBuilder
that will build a model that can then be queried later on within something like IntelliJ. This is how IntelliJ does it to get the projects, dependencies and a bunch of other pieces.
Thoughts @CRogers
for some reason adding implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml'
has broken a lot of tests due to
.gradle-test-kit/caches/jars-9/507792a4bf4466b62991b4bdf628dc95/jackson-core-2.17.2.jar.
at org.gradle.internal.classpath.ClasspathBuilder.jar(ClasspathBuilder.java:55)
at org.gradle.internal.classpath.InstrumentingClasspathFileTransformer.instrument(InstrumentingClasspathFileTransformer.java:137)
at org.gradle.internal.classpath.InstrumentingClasspathFileTransformer.transform(InstrumentingClasspathFileTransformer.java:132)
at org.gradle.internal.classpath.InstrumentingClasspathFileTransformer.transform(InstrumentingClasspathFileTransformer.java:96)
at org.gradle.internal.classpath.DefaultCachedClasspathTransformer.transformFile(DefaultCachedClasspathTransformer.java:193)
at org.gradle.internal.classpath.DefaultCachedClasspathTransformer.lambda$cachedFile$6(DefaultCachedClasspathTransformer.java:186)
at org.gradle.internal.UncheckedException.unchecked(UncheckedException.java:74)
at org.gradle.internal.classpath.DefaultCachedClasspathTransformer.lambda$transformAll$9(DefaultCachedClasspathTransformer.java:236)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:61)
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 65
I've had to make this run afterEvaluate
to ensure that the repos are correctly collected is there an earlier point this could be run?
I have now moved this to be run in a task so it is no longer anything todo with the plugin settings
Looks good given the comments.
Released 2.26.0
Before this PR
Had no way of generating a list of repos for the intellij version props plugin to use
After this PR
We can now use this plugin to generate the repo list
Possible downsides?
This will create the list even if you are not using the intellij plugin
Had to bump minimum gradle version to
7.6.4
this means7.2
is no longer supported