Skip to content

Commit

Permalink
Allow build with only 1.7 JDK present
Browse files Browse the repository at this point in the history
  • Loading branch information
mmichalek committed Mar 10, 2017
1 parent b43f753 commit 79b8111
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions symmetric-assemble/build.gradle
Expand Up @@ -6,13 +6,21 @@ buildscript {

dependencies {
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.2'
classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.10'
classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.6'
classpath 'org.springframework.build.gradle:propdeps-plugin:0.0.7'
classpath 'io.spring.gradle:docbook-reference-plugin:0.3.0'
classpath "com.smokejumperit.gradle.license:Gradle-License-Report:0.0.2"
classpath ("com.smokejumperit.gradle.license:Gradle-License-Report:0.0.2") {
// guava 21 requires Java 8, setting up for a clean build with only Java 1.7 tools.
exclude group: 'com.google.guava', module: 'guava'
}
classpath 'com.google.guava:guava:20.0'
}
}

task buildScriptDependencies(type: org.gradle.api.tasks.diagnostics.DependencyReportTask) {
configurations = project.buildscript.configurations
}

project.buildDir='target'
apply from: symAssembleDir + '/common.gradle'

Expand Down

0 comments on commit 79b8111

Please sign in to comment.