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

Solidity plugin fails on Gradle 8.x #57

Closed
usmansaleem opened this issue Mar 2, 2023 · 4 comments
Closed

Solidity plugin fails on Gradle 8.x #57

usmansaleem opened this issue Mar 2, 2023 · 4 comments

Comments

@usmansaleem
Copy link

usmansaleem commented Mar 2, 2023

Solidity plugin fails to configure on Gradle 8.x

The solidity plugin uses deprecated Gradle plugin class SourceDirectorySetFactory which has been removed in Gradle 8.x. Created the PR #56 to fix the issue.

Need release of solidity plugin with the fix so that it is useable with Gradle 8.x based projects.

An exception occurred applying plugin request [id: 'org.web3j.solidity', version: '0.3.5']
> Failed to apply plugin 'org.web3j.solidity'.
   > Could not create plugin of type 'SolidityPlugin'.
      > Could not generate a decorated class for type SolidityPlugin.
         > org/gradle/api/internal/file/SourceDirectorySetFactory
@oviniciusfeitosa
Copy link

Same problem here too.. :(

@NickSneo
Copy link
Contributor

Plz can some one confirm if latest release web3j-solidity-gradle-plugin v0.5.0 fixes this?

@petreze
Copy link

petreze commented Jun 5, 2024

Greetings @NickSneo !
Currently we are experiencing some deviations between config examples of the plugin and the behaviour. We summarized them in this issue. Would be amazing if we get some responses, thanks

@steven-sheehy
Copy link
Contributor

I think this issue can be closed. We're able to use the 0.5.0 plugin now with 8.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants