From 9c53341b2a854645fb6614e01d7858099cb840bf Mon Sep 17 00:00:00 2001 From: Rick Spiegl Date: Mon, 11 Dec 2023 15:52:56 +0100 Subject: [PATCH] Clear up misconception about java plugin (#196) Signed-off-by: Rick Spiegl --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d31b03..b968e15 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,15 @@ a source folder `src/main/java`). ### Java Plugin If the plugin detects either the folder `src/main/java` or `src/test/java` in a module, it automatically -applies the `java-library` plugin and applies the following configuration: +applies the `java` plugin. If you need the `java-library` plugin in a specific module +you can apply it by adding the following to the module's `build.gradle.kts`: +```kotlin +plugins{ + id("java-library") +} +``` + +The `java` plugin applies the following configuration: #### Configuration