Skip to content

Commit 0e7f5a6

Browse files
authored
Improve example for unrecognized dependencies (Faire#10)
- To make it more clear that the original api/implementation is still needed when ignoring a failure
1 parent 9c5ff6f commit 0e7f5a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,10 @@ allprojects {
7070
# Limitations
7171
## Unrecognized Dependencies
7272

73-
There are some dependencies that cannot be detected by inspecting the generated class files. In these cases, the tool will prompt you to remove a dependency, but removing it will result in a compile error. For this you can use `permitUnusedDeclared` and `permitTestUnusedDeclared` to work around it.
73+
There are some dependencies that cannot be detected by inspecting the generated class files. In these cases, the tool will prompt you to remove a dependency, but removing it will result in a compile error. When this happens, you can add `permitUnusedDeclared` or `permitTestUnusedDeclared` to work around it. For example:
7474
```
75+
implementation(project(":core:core-session:"))
76+
// needed to avoid dependency analysis failure
7577
permitUnusedDeclared(project(":core:core-session"))
7678
```
7779

0 commit comments

Comments
 (0)