setupJava

fun Project.setupJava(config: JavaSetupConfig = JavaSetupConfig())

Sets up the project for a simple Java project

  1. Sets up the project with the specified group and version for a simple Java project

  2. Calls setJavaVersion, setTextEncoding, and addReplacementsTask

  3. If the shadow plugin is applied, it will also call setShadowArchiveClassifier and addJavadocSourcesJars

Parameters

config

The configuration for setting up Java