This message was deleted.
# develocity
s
This message was deleted.
e
Hey, @Ken Yee! This can be seen on the timeline when viewing a task which uses toolchains. For example: https://ge.solutions-team.gradle.com/s/lefjglpltz3gu/timeline?details=aikilmqfgge5c&expanded=WyIyMCJd This is available in recent versions of Gradle Enterprise and on scans.gradle.com.
👌 1
k
Thanks! Definitely not obvious that it's there 🙂
e
You're welcome! Yes it's easy to miss. 😄
k
Might be worth calling it out on the Build Dependencies tab?
That's where I expected it at least...
e
Ah, I see. It's on the timeline because toolchains are actually configured at the level of the task. https://docs.gradle.org/current/userguide/toolchains.html#toolchains_for_tasks This notation you are probably used to seeing is really a convenience for setting the default toolchain for all tasks in a project.
Copy code
java {
    toolchain {
        languageVersion.set(JavaLanguageVersion.of(17))
    }
}
👍 1
k
Yep, I've seen the alternative way of letting you override a task for a specific Java toolchain version. That makes sense technically...just wasn't what I was expecting because I think of it as a build dependency.
👍 1