plugins {
    `java-library`
}

// Keep buildSrc outputs with the remaining project-local build artifacts.
// This also prevents a running older distributable from locking this auxiliary
// project's default `application/buildSrc/build` directory.
layout.buildDirectory = layout.projectDirectory.dir("../../build/buildSrc")

java {
    toolchain.languageVersion.set(JavaLanguageVersion.of(25))
}
