Owner:
Jeff Stano
Core plugin for internal Java/Kotlin subprojects. Applies java-library, Kotlin JVM, JaCoCo, and Spotless (Google Java Format). Configures the Java toolchain from the root BaseExtension's javaVersion (default '21'). Configures tests with JUnit Platform and finalizes them with jacocoTestReport. When mspVersion is set, enforces the MSP BOM, excludes commons-logging and log4j, and auto-wires the MapStruct annotation processor when mapstruct is detected on the classpath. Requires com.stano.base (or com.stano.application) on the root project.
Version 0.1.0 (latest)
Created 17 June 2026.
Core plugin for internal Java/Kotlin subprojects. Applies java-library, Kotlin JVM, JaCoCo, and Spotless (Google Java Format). Configures the Java toolchain from the root BaseExtension's javaVersion (default '21'). Configures tests with JUnit Platform and finalizes them with jacocoTestReport. When mspVersion is set, enforces the MSP BOM, excludes commons-logging and log4j, and auto-wires the MapStruct annotation processor when mapstruct is detected on the classpath. Requires com.stano.base (or com.stano.application) on the root project.
Add this plugin to your build using the plugins DSL:
plugins {
id("com.stano.java") version "0.1.0"
}
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("com.stano.java:com.stano.java.gradle.plugin:0.1.0") }It can then be applied in the precompiled script plugin:plugins { id("com.stano.java") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.stano.java:com.stano.java.gradle.plugin:0.1.0") } } apply(plugin = "com.stano.java") - Applying plugins to all subprojects .