Skip to content

Commit

Permalink
Clear up misconception about java plugin (#196)
Browse files Browse the repository at this point in the history
Signed-off-by: Rick Spiegl <[email protected]>
  • Loading branch information
rspiegl authored Dec 11, 2023
1 parent e8f808e commit 9c53341
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9c53341

Please sign in to comment.