Skip to content

Explicitly include maven-publish in conformance-tests. - #836

Closed
cpovirk wants to merge 1 commit into
mainfrom
gradle10warn
Closed

cpovirk wants to merge 1 commit into
mainfrom
gradle10warn

Conversation

@cpovirk

@cpovirk cpovirk commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

This prepares for Gradle 10 by resolving a deprecation warning, which I needed to include --no-configuration-cache to reliably see:

$ ./gradlew clean javadoc --warning-mode all --no-configuration-cache

> Configure project :conformance-tests
Build file '/usr/local/google/home/cpovirk/clients/jspecify-white/jspecify/conformance-tests/build.gradle': line 81
Implicit lookup of methods in parent projects has been deprecated. This will fail with an error in Gradle 10. Method 'publishing' was not declared in project ':conformance-tests' and was resolved from root project 'jspecify'. Consult the upgrading guide for further information: https://docs.gradle.org/9.6.1/userguide/upgrading_version_9.html#deprecated_implicit_lookup_in_parent_projects
        at build_27racyxjzih8dgczrw9t4dzv4.run(/usr/local/google/home/cpovirk/clients/jspecify-white/jspecify/conformance-tests/build.gradle:81)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)

This prepares for Gradle 10 by resolving a deprecation warning, which I needed to include `--no-configuration-cache` to reliably see:

```
$ ./gradlew clean javadoc --warning-mode all --no-configuration-cache

> Configure project :conformance-tests
Build file '/usr/local/google/home/cpovirk/clients/jspecify-white/jspecify/conformance-tests/build.gradle': line 81
Implicit lookup of methods in parent projects has been deprecated. This will fail with an error in Gradle 10. Method 'publishing' was not declared in project ':conformance-tests' and was resolved from root project 'jspecify'. Consult the upgrading guide for further information: https://docs.gradle.org/9.6.1/userguide/upgrading_version_9.html#deprecated_implicit_lookup_in_parent_projects
        at build_27racyxjzih8dgczrw9t4dzv4.run(/usr/local/google/home/cpovirk/clients/jspecify-white/jspecify/conformance-tests/build.gradle:81)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
```
@cpovirk

cpovirk commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator Author

(I belatedly realized that we should still make sure to get the changes of #877 and #878 into the main branch at some point.)

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.

1 participant