Skip to content
Snippets Groups Projects
Unverified Commit 9a109fde authored by Kai-Chung Yan (Deprecated)'s avatar Kai-Chung Yan (Deprecated)
Browse files

New transition_Gradle_3.1.patch for transition to Gradle 3.1

parent 897279bb
Branches
Tags
No related merge requests found
......@@ -2,3 +2,4 @@ fix_gradle_build.diff
add_compatibility_with_gradle_2.5.diff
reproducible-documentation.patch
groovy-classpath.patch
transition_Gradle_3.1.patch
Description: Transtion to Gradle 3.1
This patch makes the build scripts compatible with Gradle 3.1
Author: Kai-Chung Yan (殷啟聰)
Last-Update: 2016-11-02
--- a/build.gradle
+++ b/build.gradle
@@ -293,7 +293,11 @@
header = packageTitle
footer = copyrightString
include 'groovyx/gpars/**'
- overview = new File('overview.html')
+ if (gradle.gradleVersion.startsWith('2.')) {
+ overview = new File('overview.html')
+ } else {
+ overviewText = resources.text.fromFile('overview.html')
+ }
groovyClasspath = files('/usr/share/java/groovy-all.jar')
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment