Skip to content

activate removeWildcardImports() #2526

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Pankraz76
Copy link
Contributor

@Pankraz76 Pankraz76 commented Jun 24, 2025

@Pankraz76 Pankraz76 changed the title activate removeWildcardImports() activate removeWildcardImports() Jun 24, 2025
@iddeepak
Copy link
Contributor

Thanks @Pankraz76
LGTM! 🎉

@Pankraz76 Pankraz76 force-pushed the activate-removeWildcardImports branch from 9dc5b8b to a14663d Compare July 1, 2025 10:31
@Pankraz76 Pankraz76 marked this pull request as ready for review July 1, 2025 10:31
@Pankraz76 Pankraz76 requested a review from nedtwigg July 1, 2025 10:32
@Pankraz76
Copy link
Contributor Author

appreciate the release to merge this and activate in client projects as well:

@Pankraz76 Pankraz76 marked this pull request as draft July 2, 2025 10:18
@Pankraz76
Copy link
Contributor Author

Pankraz76 commented Jul 8, 2025

still not recognizing:

because publish is not bumping the version to follow SOC.

  > Could not create task ':lib:spotlessJava'.
      > No signature of method: com.diffplug.gradle.spotless.JavaExtension.removeUnusedImportss() is applicable for argument types: () values: []
        Possible solutions: removeUnusedImports(), removeUnusedImports(java.lang.String)

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.14.2/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 884ms
Configuration cache entry stored.
➜  spotless git:(activate-removeWildcardImports) ✗ gradle spotlessApply
Calculating task graph as configuration cache cannot be reused because file 'gradle/java-publish.gradle' has changed.
Type-safe project accessors is an incubating feature.

[Incubating] Problems report is available at: file:///Users/vincent.potucek/IdeaProjects/spotless/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* Where:
Script '/Users/vincent.potucek/IdeaProjects/spotless/gradle/spotless.gradle' line: 25

* What went wrong:
Could not determine the dependencies of task ':lib:spotlessApply'.
> Could not create task ':lib:spotlessJavaApply'.
   > Could not create task ':lib:spotlessJava'.
      > No signature of method: com.diffplug.gradle.spotless.JavaExtension.removeWildcardImports() is applicable for argument types: () values: []

* Try:

@Pankraz76 Pankraz76 force-pushed the activate-removeWildcardImports branch from 11bfe31 to 8bfd20a Compare July 8, 2025 07:05
@Pankraz76
Copy link
Contributor Author

Thanks works on os:

image

@Pankraz76 Pankraz76 marked this pull request as ready for review July 16, 2025 14:51
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.

3 participants