You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FAILURE: Build failed with an exception.
* What went wrong:
Circular dependency between the following tasks:
:classes
\--- :compileJava
+--- :compileKotlin
|\--- :jar
| +--- :classes (*)
| +--- :compileJava (*)
|\--- :compileKotlin (*)
\--- :jar (*)
I don't know that trying to reference the SDK project is possible given that the repository is not organized as a gradle multi-project. I suspect the error is that the implementation project(path: ':') is adding a dependency to itself (: path is the project root). Even a hard-coded path will fail because the example project is not associated with the SDK project.
It may be easiest to update the documentation to publish the SDK to the local maven repository, and then use the mavenLocal repository.
OpenFGA SDK version
0.4.1
OpenFGA version
latest
SDK Configuration
n/a
Logs
n/a
References
No response
The text was updated successfully, but these errors were encountered:
Checklist
Description
When following the documentation to run the example with a local version of the SDK, an error occurs when running
make
.Expectation
It should be possible to run the example with a local unpublished version of the SDK
Reproduction
Update the example build.gradle as shown in the example README:
Run
make
, and observe the error:I don't know that trying to reference the SDK project is possible given that the repository is not organized as a gradle multi-project. I suspect the error is that the
implementation project(path: ':')
is adding a dependency to itself (:
path is the project root). Even a hard-coded path will fail because the example project is not associated with the SDK project.It may be easiest to update the documentation to publish the SDK to the local maven repository, and then use the
mavenLocal
repository.OpenFGA SDK version
0.4.1
OpenFGA version
latest
SDK Configuration
n/a
Logs
n/a
References
No response
The text was updated successfully, but these errors were encountered: