File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
server/src/main/resources Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ allprojects { project ->
10
10
.forEach { System . out. println " kotlin-lsp-gradle $it " }
11
11
12
12
def projectAccessorsClassPathProperty = " gradleKotlinDsl.projectAccessorsClassPath"
13
+ def pluginAccessorsClassPathProperty = " gradleKotlinDsl.pluginAccessorsClassPath"
13
14
14
15
// List dynamically generated Kotlin DSL accessors (e.g. the 'compile' configuration method)
15
16
if (project. hasProperty(projectAccessorsClassPathProperty)) {
@@ -19,10 +20,12 @@ allprojects { project ->
19
20
.forEach { System . out. println " kotlin-lsp-gradle $it " }
20
21
}
21
22
22
- // gradle.services.get(PluginAccessorClassPathGenerator.class).pluginSpecBuildersClassPath(project)
23
- // .bin
24
- // .asFiles
25
- // .forEach { System.out.println "kotlin-lsp-gradle $it" }
23
+ if (project. hasProperty(pluginAccessorsClassPathProperty)) {
24
+ project. getProperty(pluginAccessorsClassPathProperty)
25
+ .bin
26
+ .asFiles
27
+ .forEach { System . out. println " kotlin-lsp-gradle $it " }
28
+ }
26
29
}
27
30
}
28
31
}
You can’t perform that action at this time.
0 commit comments