Skip to content

Commit d142670

Browse files
authored
Merge pull request #438 from sourcegraph/build-tool-docs
Clarify what files are needed for Gradle and Maven builds
2 parents 4934f96 + ac5863d commit d142670

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

docs/getting-started.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ tools that we're planning to support in the future.
1212
## Install `lsif-java`
1313

1414
The most common way to use `lsif-java` is to run it from CI to upload LSIF
15-
indexes after merging a pull request. The easiest way to install `lsif-java` is
16-
to use the Docker launcher.
15+
indexes after merging a pull request.
16+
17+
The easiest way to install `lsif-java` is to use the Docker launcher.
1718

1819
### Docker container
1920

@@ -259,7 +260,15 @@ on how to configure lsif-java to work with any build tool.
259260
### Gradle
260261

261262
The `lsif-java index` build should be able to automatically index most Gradle
262-
projects. However, the following Gradle integrations are not yet supported:
263+
projects. You Gradle build must contain one of the following files in the same
264+
directory where `lsif-java index` gets invoked.
265+
266+
- settings.gradle
267+
- gradlew
268+
- build.gradle
269+
- build.gradle.kts
270+
271+
The following Gradle integrations are not yet supported:
263272

264273
| Integration | Supported | Tracking issue |
265274
| ----------- | --------- | -------------------------------------------------------------------------------- |
@@ -270,7 +279,10 @@ projects. However, the following Gradle integrations are not yet supported:
270279
### Maven
271280

272281
The `lsif-java index` build should be able to automatically index most Maven
273-
projects. However, the following Maven integrations are not yet supported:
282+
projects. Your Maven build must contain a `pom.xml` file in the same directory
283+
where `lsif-java index` gets invoked.
284+
285+
The following Maven integrations are not yet supported:
274286

275287
| Integration | Supported | Tracking issue |
276288
| ------------------- | --------- | -------------------------------------------------------------------------------- |
@@ -286,3 +298,4 @@ projects, with the following caveats:
286298
| Integration | Supported | Recommendation |
287299
| ------------- | --------- | ----------------------- |
288300
| sbt <v0.13.17 || Upgrade to sbt v0.13.17 |
301+

0 commit comments

Comments
 (0)