Set up bootclasspath on javacompile targets

This commit is contained in:
Seth Goings 2014-07-23 17:26:48 -06:00
parent 644cf9167a
commit f4219caa28
2 changed files with 8 additions and 2 deletions

View File

@ -28,6 +28,10 @@ artifactory {
username = System.env.BINTRAY_USER
password = System.env.BINTRAY_API_KEY
}
defaults {
//publications('linux-x86_64')
}
}
}
@ -44,7 +48,10 @@ tasks.withType(JavaCompile) {
sourceCompatibility = "1.6"
targetCompatibility = "1.6"
options.encoding = "UTF-8"
options.with {
encoding = "UTF-8"
bootClasspath = sourceSets.main.output.classesDir
}
}
sourceSets {

View File

@ -1587,7 +1587,6 @@ $(classpath-build)/%.class: $(classpath-src)/%.java
$(classpath-dep): $(classpath-sources) $(classpath-jar-dep)
@echo "compiling classpath classes"
@echo $(boot-classpath)
@mkdir -p $(classpath-build)
classes="$(shell $(MAKE) -s --no-print-directory build=$(build) \
$(classpath-classes))"; if [ -n "$${classes}" ]; then \