Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IntegrationTest has wrong classpath order #81

Open
appserzh opened this issue Jul 12, 2022 · 0 comments
Open

IntegrationTest has wrong classpath order #81

appserzh opened this issue Jul 12, 2022 · 0 comments

Comments

@appserzh
Copy link

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
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant