From 72c3e3d8710e3f6ec1cc755b0ce798ac33ddb2d8 Mon Sep 17 00:00:00 2001 From: sysnote8main Date: Mon, 1 Jul 2024 09:21:30 +0900 Subject: [PATCH] Fix unused useSrcApiPath problem (#96) --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index ab6ebec..ca81566 100644 --- a/build.gradle +++ b/build.gradle @@ -119,7 +119,7 @@ if (!getFile(targetPackageJava).exists() && !getFile(targetPackageScala).exists( if (apiPackage) { final String endApiPath = modGroupPath + '/' + apiPackagePath - if (useSrcApiPath) { + if (useSrcApiPath.toBoolean()) { targetPackageJava = 'src/api/java/' + endApiPath targetPackageScala = 'src/api/scala/' + endApiPath targetPackageKotlin = 'src/api/kotlin/' + endApiPath