From 5fe06ceb064173b45a4e8a55e990ab6a4c3e87ba Mon Sep 17 00:00:00 2001 From: Yan Zhulanow Date: Mon, 23 Dec 2019 13:38:54 +0900 Subject: [PATCH] Pill: Support api/implementation configurations --- buildSrc/src/main/kotlin/pill/parser.kt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/buildSrc/src/main/kotlin/pill/parser.kt b/buildSrc/src/main/kotlin/pill/parser.kt index 367103c6225..7694f7fc691 100644 --- a/buildSrc/src/main/kotlin/pill/parser.kt +++ b/buildSrc/src/main/kotlin/pill/parser.kt @@ -130,14 +130,13 @@ fun parse(project: Project, libraries: List, context: ParserContext): */ private val CONFIGURATION_MAPPING = mapOf( listOf("runtimeClasspath") to Scope.RUNTIME, - listOf("compile", "embedded") to Scope.COMPILE, - listOf("compileOnly") to Scope.PROVIDED + listOf("compileClasspath") to Scope.PROVIDED, + listOf("embedded") to Scope.COMPILE ) private val TEST_CONFIGURATION_MAPPING = mapOf( listOf("runtimeClasspath", "testRuntimeClasspath") to Scope.RUNTIME, - listOf("compile", "testCompile") to Scope.COMPILE, - listOf("compileOnly", "testCompileOnly") to Scope.PROVIDED, + listOf("compileClasspath", "testCompileClasspath") to Scope.PROVIDED, listOf("jpsTest") to Scope.TEST )