summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authororionlee <orionlee@yahoo.com>2016-10-08 11:17:59 -0700
committerorionlee <orionlee@yahoo.com>2016-10-08 11:17:59 -0700
commit9214518cb80a72237c2e1b1caf456edd99783622 (patch)
tree3a6eadd089e97f5500b410b660cba9244f09d9c7 /README.md
parent7ecfb388a2cb5ef7a6f1979cf2d781a9e0f316b0 (diff)
downloadjava-language-server-9214518cb80a72237c2e1b1caf456edd99783622.zip
ensure javaconfig generation cab be placed in sub projects
- by using the relative path to refer to task vscodeClasspathFile, instead of absolute path used.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 5f226b3..2d155a2 100644
--- a/README.md
+++ b/README.md
@@ -145,7 +145,7 @@ task vscodeJavaconfigFile(dependsOn: vscodeClasspathFile) {
ext.destFile = file("javaconfig.json")
ext.config = [
sourcePath: sourceSets.collect{ it.java.srcDirs }.flatten().collect{ relativePath(it) },
- classPathFile: relativePath(tasks.getByPath(':vscodeClasspathFile').outputs.files.singleFile),
+ classPathFile: relativePath(tasks.getByPath('vscodeClasspathFile').outputs.files.singleFile),
outputDirectory: relativePath(new File(buildDir, 'vscode-classes'))
]
doLast {