From 34a1156e9ae18a5aa6f96f1a99305761f92a0b9d Mon Sep 17 00:00:00 2001 From: livk Date: Fri, 12 Jul 2024 13:41:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E5=BA=9F=E5=BC=83?= =?UTF-8?q?=E7=9A=84API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/kotlin/com/livk/boot/dependency/OptionalPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/com/livk/boot/dependency/OptionalPlugin.kt b/buildSrc/src/main/kotlin/com/livk/boot/dependency/OptionalPlugin.kt index d4f837000..d4b9970c9 100644 --- a/buildSrc/src/main/kotlin/com/livk/boot/dependency/OptionalPlugin.kt +++ b/buildSrc/src/main/kotlin/com/livk/boot/dependency/OptionalPlugin.kt @@ -46,7 +46,7 @@ abstract class OptionalPlugin : Plugin { configurations.getByName(sourceSet.compileClasspathConfigurationName).extendsFrom(optional) configurations.getByName(sourceSet.runtimeClasspathConfigurationName).extendsFrom(optional) if (sourceSet.name != OPTIONAL) { - configurations.getByName(OPTIONAL + JavaPlugin.API_CONFIGURATION_NAME.capitalized()) + configurations.getByName(OPTIONAL + "Api") .extendsFrom(optional) } }