Since the buildscript is over 250 lines already, it should be broken up, with things potentially being moved into convention plugins.
A perfect example would be the JIB configuration which can easily reside in another file, external to the main build.gradle.kts.
Unfortunately, convention buildscripts require the dependencies to compile (like jib), which in turn requires the typesafe dependency catalog, which in turn doesn't work at the time of writing as per gradle#15383.
Since the buildscript is over 250 lines already, it should be broken up, with things potentially being moved into convention plugins.
A perfect example would be the JIB configuration which can easily reside in another file, external to the main
build.gradle.kts
.Unfortunately, convention buildscripts require the dependencies to compile (like jib), which in turn requires the typesafe dependency catalog, which in turn doesn't work at the time of writing as per gradle#15383.