Fix classpath used for Gradle Plugin integration tests in Eclipse

See gh-19841
pull/19850/head
Andy Wilkinson 5 years ago
parent 1faa6b3b1f
commit 89237634c7

@ -86,8 +86,9 @@ public class GradleBuild {
} }
private List<File> pluginClasspath() { private List<File> pluginClasspath() {
return Arrays.asList(new File("bin"), new File("build/classes/java/main"), new File("build/resources/main"), return Arrays.asList(new File("bin/main"), new File("build/classes/java/main"),
new File(pathOfJarContaining(LaunchScript.class)), new File(pathOfJarContaining(ClassVisitor.class)), new File("build/resources/main"), new File(pathOfJarContaining(LaunchScript.class)),
new File(pathOfJarContaining(ClassVisitor.class)),
new File(pathOfJarContaining(DependencyManagementPlugin.class)), new File(pathOfJarContaining(DependencyManagementPlugin.class)),
new File(pathOfJarContaining(PropertiesKt.class)), new File(pathOfJarContaining(KotlinLogger.class)), new File(pathOfJarContaining(PropertiesKt.class)), new File(pathOfJarContaining(KotlinLogger.class)),
new File(pathOfJarContaining(KotlinPlugin.class)), new File(pathOfJarContaining(KotlinProject.class)), new File(pathOfJarContaining(KotlinPlugin.class)), new File(pathOfJarContaining(KotlinProject.class)),

Loading…
Cancel
Save