Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix documentation of custom tasks #1001

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Conversation

quijote
Copy link
Contributor

@quijote quijote commented Oct 14, 2024

Adapts the docs at https://gradleup.com/shadow/custom-tasks/.

Using testImplementation does not work anymore with latest Gradle versions. It produces the following error:

Could not determine the dependencies of task ':testJar'.
> Resolving dependency configuration 'testImplementation' is not allowed as it is defined as 'canBeResolved=false'.
  Instead, a resolvable ('canBeResolved=true') dependency configuration that extends 'testImplementation' should be resolved.

Instead, Gradle docs hints that testRuntimeClasspath is a resolvable configuration.

@quijote quijote changed the title Bugfix/docs Fix documentation of custom tasks Oct 14, 2024
@Goooler Goooler enabled auto-merge (squash) October 15, 2024 01:31
@Goooler Goooler merged commit c1b5ef3 into GradleUp:main Oct 15, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants