From 3af59997303072bc145c855c200acefbcb255ca2 Mon Sep 17 00:00:00 2001 From: Alexander Kobelev Date: Wed, 30 Oct 2024 13:09:59 +0300 Subject: [PATCH] Subproject do not need 'java-library' plugin, e.g. for Spring --- build.gradle | 2 +- hello/build.gradle | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index a8626e1..1adcdc8 100644 --- a/build.gradle +++ b/build.gradle @@ -51,7 +51,7 @@ allprojects { } subprojects { - apply plugin: 'java-library' + apply plugin: 'java' java { toolchain { diff --git a/hello/build.gradle b/hello/build.gradle index d2423ad..0eb3b42 100644 --- a/hello/build.gradle +++ b/hello/build.gradle @@ -1,4 +1,5 @@ plugins { + id 'java-library' id 'application' alias(libs.plugins.javamodularity.moduleplugin) }