Pill: Fix gradle-api artifacts attaching after migration to compileClasspath/runtimeClasspath

This commit is contained in:
Yan Zhulanow
2019-12-26 03:20:15 +09:00
parent ea957872eb
commit 532e879d5c
+2 -2
View File
@@ -130,13 +130,13 @@ fun parse(project: Project, libraries: List<PLibrary>, 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
)