Skip to content

IntegrationTest has wrong classpath order #81

@appserzh

Description

@appserzh

Integration test apply wrong classpath order and as result class shadowing isn't work.

task showClassPathTest() {
	doLast {
		sourceSets.integTest.runtimeClasspath.each { println it}
	}
}

Result:

/.../build/classes/java/integTest
/.../build/resources/integTest
...
jars
...
/.../build/classes/java/test
/.../build/resources/test
/.../build/classes/java/main
/.../build/resources/main

And expected result:

/.../build/classes/java/integTest
/.../build/resources/integTest
/.../build/classes/java/test
/.../build/resources/test
/.../build/classes/java/main
/.../build/resources/main
...
jars
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions