mirror of
https://github.com/OpenLiberty/liberty-bikes.git
synced 2024-11-27 01:20:01 +08:00
Fix eclipse classpath generation
This commit is contained in:
parent
c193c5198a
commit
15f538e673
12
build.gradle
12
build.gradle
@ -34,6 +34,18 @@ subprojects {
|
||||
testCompile group: 'org.glassfish', name: 'javax.json', version: '1.1.+'
|
||||
}
|
||||
|
||||
eclipse {
|
||||
classpath {
|
||||
defaultOutputDir = file('build/classes/java/main')
|
||||
file {
|
||||
whenMerged {
|
||||
entries.findAll { it.path.startsWith('src/test') }
|
||||
.each { it.output = "build/classes/java/test" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
liberty {
|
||||
install {
|
||||
// use 1 liberty install for the whole repo
|
||||
|
@ -7,5 +7,5 @@
|
||||
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
<classpathentry kind="output" path="build/classes/java/main"/>
|
||||
</classpath>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src/main/java"/>
|
||||
<classpathentry kind="src" path="src/test/java" output="build/classes/java/test"/>
|
||||
<classpathentry kind="src" output="build/classes/java/test" path="src/test/java"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
|
||||
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer">
|
||||
|
Loading…
Reference in New Issue
Block a user