File: 0022-ignore-docbook-reference-plugin.patch

package info (click to toggle)
libspring-java 4.3.30-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 65,728 kB
  • sloc: java: 566,974; xml: 13,706; sql: 2,313; sh: 87; ruby: 75; jsp: 33; makefile: 29; javascript: 11; python: 4
file content (48 lines) | stat: -rw-r--r-- 1,229 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Description: Disable the generation of the docbook documentation.
 It requires the docbook-reference-plugin which isn't in Debian.
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/build.gradle
+++ b/build.gradle
@@ -1139,7 +1139,6 @@
 	description = "Spring Framework"
 
 	apply plugin: "org.asciidoctor.convert"
-	apply plugin: "docbook-reference"
 	apply plugin: "groovy"
 
 	// apply plugin: "detect-split-packages"
@@ -1153,13 +1152,6 @@
 		attributes 'spring-version': project.version, 'revnumber': project.version, 'docinfo': ""
 	}
 
-	reference {
-		sourceDir = asciidoctor.outputDir
-		pdfFilename = "spring-framework-reference.pdf"
-		epubFilename = "spring-framework-reference.epub"
-		expandPlaceholders = ""
-	}
-
 	afterEvaluate {
 		tasks.findAll { it.name.startsWith("reference") }.each{ it.dependsOn.add("asciidoctor") }
 	}
@@ -1233,7 +1225,7 @@
 		}
 	}
 
-	task docsZip(type: Zip, dependsOn: 'reference') {
+	task docsZip(type: Zip) {
 		group = "Distribution"
 		baseName = "spring-framework"
 		classifier = "docs"
@@ -1247,10 +1239,6 @@
 		from (api) {
 			into "javadoc-api"
 		}
-
-		from (reference) {
-			into "spring-framework-reference"
-		}
 	}
 
 	task schemaZip(type: Zip) {