Reporting utils.
| Type Params | Return Type | Name and description |
|---|---|---|
|
static java.lang.String |
extractFile(java.lang.String path)@param path absolute path to source file |
|
static java.lang.String |
extractJavaPackage(org.gradle.api.Project project, java.lang.String type, java.lang.String file)Resolve java package from provided absolute source path. |
|
static java.lang.String |
extractJavaPackage(org.gradle.api.Project project, java.lang.String file)Special version of package matching mechanism for muti-module resolution: looks for all source sets and all child modules. |
|
static java.lang.String |
noRootFilePath(java.io.File file)@param file file to resolve path |
|
static java.lang.String |
toConsoleLink(java.io.File file)@param file file |
|
static java.lang.String |
unescapeHtml(java.lang.String html)Unescapes html string. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
path - absolute path to source fileResolve java package from provided absolute source path. Use configured java source roots to properly detect class package.
project - project instancetype - execution type (main or test)file - absolute path to source fileSpecial version of package matching mechanism for muti-module resolution: looks for all source sets and all child modules.
project - project instancefile - absolute path to source file
file - file to resolve path
file - fileUnescapes html string. Uses XmlSlurper as the simplest way.
html - html