This message was deleted.
# community-support
s
This message was deleted.
c
likely issue is the JVM used to run Gradle is different between local & CI environments.
e
yep, Gradle plugins need to be compatible with the JVM that's running Gradle, toolchains don't affect that
e
Gotcha. Found out that we setup a Java 8 somewhere in the CI pipeline, and running 17 locally.
Gradle plugins need to be compatible with the JVM that's running Gradle, toolchains don't affect that
Does it make sense to use a toolchain in
buildSrc
, then?
e
you can use a toolchain so that it builds consistently even across a variety of environments, you just have to make sure to target the earlier version you want to use anywhere
e
Alright, so I just set it to 17 and just make sure I use JVM 17+ everywhere for instance?
💯 1
e
that should work
🫡 1
e
Thanks! 🙇