Generating code from external schemas in JARs Error
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 217
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
I get the following error when I try to follow the documentation for adding an external library:
Could not find method dgsCodegen() [my.dependency:1.3.7'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
With the following configuration:
dependencies {
dgsCodegen 'my.dependency:1.3.7'
}
I believe the above configuration is in the wrong place in my build.gradle file, but am at a loss to find the correct place for it.
Thanks in advance.
Rick
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the documentation for adding an external library and the project's build.gradle dependency configuration. Reproduce the reported dgsCodegen() error, then clarify the correct placement or configuration so the documented setup works without that Gradle error.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100