Skip to content

Commit 60defce

Browse files
committed
Mention processorpath in Gradle example for manual configuration
1 parent ced10dc commit 60defce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/manual-configuration.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ javac -classpath semanticdb-javac.jar MyApplication.java
3838
If you're using Gradle.
3939

4040
```groovy
41-
compileOnly group: 'com.sourcegraph', name: 'semanticdb-javac', version: '@STABLE_VERSION@'
41+
// Option 1: if you are not using annotation processors
42+
compileOnly 'com.sourcegraph:semanticdb-javac:@STABLE_VERSION@'
43+
// Option 2: if you are using annotation processors
44+
annotationProcessor 'com.sourcegraph:semanticdb-javac:@STABLE_VERSION@'
4245
```
4346

4447
If you're using Maven.

0 commit comments

Comments
 (0)