File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ func configFileTemplate(tools []tools.Tool) string {
140140 needsNode := false
141141 needsPython := false
142142 needsDart := false
143+ needsJava := false
143144
144145 // Default versions
145146 defaultVersions := map [string ]string {
@@ -168,6 +169,8 @@ func configFileTemplate(tools []tools.Tool) string {
168169 needsPython = true
169170 } else if tool .Uuid == DartAnalyzer {
170171 needsDart = true
172+ } else if tool .Uuid == PMD {
173+ needsJava = true
171174 }
172175 }
173176
@@ -186,11 +189,15 @@ func configFileTemplate(tools []tools.Tool) string {
186189 if needsDart {
187190 sb .WriteString (" - dart@3.7.2\n " )
188191 }
192+ if needsJava {
193+ sb .WriteString (" - java@17.0.10\n " )
194+ }
189195 } else {
190196 // In local mode with no tools specified, include all runtimes
191197 sb .WriteString (" - node@22.2.0\n " )
192198 sb .WriteString (" - python@3.11.11\n " )
193199 sb .WriteString (" - dart@3.7.2\n " )
200+ sb .WriteString (" - java@17.0.10\n " )
194201 }
195202
196203 sb .WriteString ("tools:\n " )
You can’t perform that action at this time.
0 commit comments