You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this sample app to experiment with my own contracts. My own contracts require solidity compiler 0.5.0+, so I've changed the gradle file to set the solidty version correspondingly.
pragma solidity ^0.5.0;
contract XXX {...}
web3j {
...
solidity {
version = '0.5.0'
}
}
When I start the gradle build I always get the following error:
Execution failed for task ':compileSolidity'.
Process 'command '/var/folders/4d/rwvvzqh10nx5x9qg3yw8jsz00000gn/T/solc/solc'' finished with non-zero exit value 1
If I set pragma to
pragma solidity ^0.4.0;
it works. It seems to me the build process is not respecting the solidity version set.
The text was updated successfully, but these errors were encountered:
I am using this sample app to experiment with my own contracts. My own contracts require solidity compiler 0.5.0+, so I've changed the gradle file to set the solidty version correspondingly.
When I start the gradle build I always get the following error:
Execution failed for task ':compileSolidity'.
If I set pragma to
pragma solidity ^0.4.0;
it works. It seems to me the build process is not respecting the solidity version set.
The text was updated successfully, but these errors were encountered: