Skip to content

Commit

Permalink
fix GStringImpl cast to String issue in eclipse (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
qinfchen authored and uschi2000 committed Jun 20, 2016
1 parent 673ef1f commit 839f2cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions gradle-baseline-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ dependencies {
compile 'com.google.guava:guava:18.0'

testCompile 'com.netflix.nebula:nebula-test:4.0.0'
testCompile 'org.apache.commons:commons-io:1.3.2'
testCompile 'junit:junit:4.11'
testCompile 'net.lingala.zip4j:zip4j:1.3.2'
testCompile 'org.hamcrest:hamcrest-all:1.3'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,10 @@ class BaselineEclipse extends AbstractBaselinePlugin {
// Override default Eclipse JRE.
if (project.plugins.hasPlugin(JavaPlugin)) {
project.tasks.eclipseClasspath.doFirst {
String eclipseClassPath = "org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-" + project.sourceCompatibility;
project.eclipse.classpath {
containers.clear()
containers.add("org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-${project.sourceCompatibility}")
containers.add(eclipseClassPath)
}
}
}
Expand Down

0 comments on commit 839f2cf

Please sign in to comment.