Pill: Support api/implementation configurations
This commit is contained in:
@@ -130,14 +130,13 @@ fun parse(project: Project, libraries: List<PLibrary>, 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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user