Skip to content

Commit

Permalink
Subproject do not need 'java-library' plugin, e.g. for Spring
Browse files Browse the repository at this point in the history
  • Loading branch information
ak-git committed Oct 30, 2024
1 parent 4542e14 commit a10f494
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import com.github.spotbugs.snom.Confidence

plugins {
id 'java-library'
id 'java'
id 'idea'
id 'jacoco'
alias(libs.plugins.spotbugs)
Expand Down Expand Up @@ -51,8 +51,6 @@ allprojects {
}

subprojects {
apply plugin: 'java-library'

java {
toolchain {
languageVersion = JavaLanguageVersion.of(22)
Expand Down
3 changes: 2 additions & 1 deletion hello/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
alias(libs.plugins.javamodularity.moduleplugin)
id 'java-library'
id 'application'
alias(libs.plugins.javamodularity.moduleplugin)
}

dependencies {
Expand Down

0 comments on commit a10f494

Please sign in to comment.