Owner:
nico
Applies java-library and jacoco, configures the Java 25 toolchain, JaCoCo XML coverage reports with build/generated-source class exclusions, jar manifest Implementation-Title/Version, and javadoc Xdoclint:all,-html with -quiet. Reads optional GROUP and VERSION_NAME project properties when set.
https://codeberg.org/visionary_software/java-conventions
Sources: https://codeberg.org/visionary_software/java-conventions.git
Version 2026.05.10 (latest)
Created 25 May 2026.
Applies java-library and jacoco, configures the Java 25 toolchain, JaCoCo XML coverage reports with build/generated-source class exclusions, jar manifest Implementation-Title/Version, and javadoc Xdoclint:all,-html with -quiet. Reads optional GROUP and VERSION_NAME project properties when set.
Add this plugin to your build using the plugins DSL:
plugins {
id("software.visionary.java-base") version "2026.05.10"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts):dependencies { implementation("software.visionary.java-base:software.visionary.java-base.gradle.plugin:2026.05.10") }It can then be applied in the precompiled script plugin:plugins { id("software.visionary.java-base") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("software.visionary.java-base:software.visionary.java-base.gradle.plugin:2026.05.10") } } apply(plugin = "software.visionary.java-base") - Applying plugins to all subprojects .