diff options
author | orionlee <orionlee@yahoo.com> | 2016-10-08 11:17:59 -0700 |
---|---|---|
committer | orionlee <orionlee@yahoo.com> | 2016-10-08 11:17:59 -0700 |
commit | 9214518cb80a72237c2e1b1caf456edd99783622 (patch) | |
tree | 3a6eadd089e97f5500b410b660cba9244f09d9c7 /README.md | |
parent | 7ecfb388a2cb5ef7a6f1979cf2d781a9e0f316b0 (diff) | |
download | java-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.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |