From 532e879d5c701996f2e23811ca37d4a6c278776e Mon Sep 17 00:00:00 2001 From: Yan Zhulanow Date: Thu, 26 Dec 2019 03:20:15 +0900 Subject: [PATCH] Pill: Fix gradle-api artifacts attaching after migration to compileClasspath/runtimeClasspath --- buildSrc/src/main/kotlin/pill/parser.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/kotlin/pill/parser.kt b/buildSrc/src/main/kotlin/pill/parser.kt index 7694f7fc691..20acdc7ef58 100644 --- a/buildSrc/src/main/kotlin/pill/parser.kt +++ b/buildSrc/src/main/kotlin/pill/parser.kt @@ -130,13 +130,13 @@ fun parse(project: Project, libraries: List, context: ParserContext): */ private val CONFIGURATION_MAPPING = mapOf( listOf("runtimeClasspath") to Scope.RUNTIME, - listOf("compileClasspath") to Scope.PROVIDED, + listOf("compileClasspath", "compileOnly") to Scope.PROVIDED, listOf("embedded") to Scope.COMPILE ) private val TEST_CONFIGURATION_MAPPING = mapOf( listOf("runtimeClasspath", "testRuntimeClasspath") to Scope.RUNTIME, - listOf("compileClasspath", "testCompileClasspath") to Scope.PROVIDED, + listOf("compileClasspath", "testCompileClasspath", "compileOnly", "testCompileOnly") to Scope.PROVIDED, listOf("jpsTest") to Scope.TEST )