Project

Profile

Help

Revision ce99b9c2

Added by Norman Tovey-Walsh 8 months ago

Propagate some exclusions through to the javadoc tasks

View differences:

build-doc.gradle
28 28
) {
29 29
  inputs.files fileTree(dir: "${projectDir}/src/main/java")
30 30
  outputs.files fileTree(dir: "${buildDir}/javadoc_src")
31

  
31
  
32
  // N.B. these exclusions are also applied in the tasks below.
32 33
  into "${buildDir}/javadoc_src"
33 34
  from ("${projectDir}/src/main/java") {
34 35
    include "net/**"
......
74 75
  def packages = [:]
75 76
  fileTree(dir: "${projectDir}/src/main/java",
76 77
           include: ["net/**", "com/**", "javax/**"],
77
           exclude: ["com/saxonica/testdriver/**",
78
           exclude: ["**/dotnet/**",
79
                     "net/sf/saxon/option/cpp/**",
78 80
                     "net/sf/saxon/testdriver/**",
79
                     "**/dotnet/**"]).each { pkg ->
81
                     "com/saxonica/functions/extfn/cpp/**",
82
                     "com/saxonica/js/**",
83
                     "com/saxonica/testdriver/**",
84
                     "com/saxonica/config/DotNetExtensionFunctionFactory.java",
85
                     "com/saxonica/config/DotNetExtensionLibrary.java",
86
                     "com/saxonica/config/DotNetPlatformPE.java",
87
                     "com/saxonica/config/JavaPlatformC.java",
88
                     "com/saxonica/expr/DotNetExtensionFunctionCall.java"]).each { pkg ->
80 89
    def fn = pkg.toString()
81 90
    fn = fn.substring("{$projectDir}/src/main/java".length()-1)
82 91
    def pos = fn.lastIndexOf("/")
......
131 140
  def packages = [:]
132 141
  fileTree(dir: "${projectDir}/src/main/java",
133 142
           include: ["net/**", "com/**", "javax/**"],
134
           exclude: ["com/saxonica/testdriver/**",
143
           exclude: ["**/dotnet/**",
144
                     "net/sf/saxon/option/cpp/**",
135 145
                     "net/sf/saxon/testdriver/**",
136
                     "**/dotnet/**"]).each { pkg ->
146
                     "com/saxonica/functions/extfn/cpp/**",
147
                     "com/saxonica/js/**",
148
                     "com/saxonica/testdriver/**",
149
                     "com/saxonica/config/DotNetExtensionFunctionFactory.java",
150
                     "com/saxonica/config/DotNetExtensionLibrary.java",
151
                     "com/saxonica/config/DotNetPlatformPE.java",
152
                     "com/saxonica/config/JavaPlatformC.java",
153
                     "com/saxonica/expr/DotNetExtensionFunctionCall.java"]).each { pkg ->
137 154
    def fn = pkg.toString()
138 155
    fn = fn.substring("{$projectDir}/src/main/java".length()-1)
139 156
    def pos = fn.lastIndexOf("/")

Also available in: Unified diff