web3j-gradle-plugin icon indicating copy to clipboard operation
web3j-gradle-plugin copied to clipboard

Version of solc not picked up

Open degloff opened this issue 5 years ago • 1 comments

I use the Epirus to generate the project and then in the build.gradle

import org.web3j.solidity.gradle.plugin.OutputComponent
solidity {
    outputComponents = [OutputComponent.BIN, OutputComponent.ABI, OutputComponent.METADATA]
    version = '0.7.1'
}

I can compile my contract fine with solc version 0.7.1 on the command line. Apparently the solc version is not picked up. How to debug?

Thanks

degloff avatar Sep 21 '20 15:09 degloff

@degloff I just tested it and it works. Which version of the plugin are you using ? Try moving on to our latest release of the plugin 4.6.0. Should work fine

rach-id avatar Sep 23 '20 10:09 rach-id