Commit c2744a8
committed
For Gradle jack-in use wrapper by default
While Gradle does support a global install on the PATH called via
"gradle" it is much more common for projects to have the Gradle wrapper
in their project, which allows each project to be pinned to a specific
version of Gradle.
This file is either "gradlew" or "gradlew.bat" in the project root.
Since this file isn't on the exec-path, I use locate-file to resolve the
file relative to the clojure-project-dir, but only if the file is
clearly a relative path starting "./" or "../". We still fall back to
looking up on the exec-path if someone sets their cider-gradle-command
back to "gradle".1 parent c1bd60e commit c2744a8
File tree
4 files changed
+35
-5
lines changed- doc/modules/ROOT/pages/basics
- test
4 files changed
+35
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
355 | | - | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
356 | 360 | | |
357 | 361 | | |
358 | 362 | | |
| |||
1652 | 1656 | | |
1653 | 1657 | | |
1654 | 1658 | | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
1655 | 1667 | | |
1656 | 1668 | | |
1657 | 1669 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
179 | | - | |
180 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
528 | 545 | | |
529 | 546 | | |
530 | 547 | | |
0 commit comments