hyperledger-web3j / web3j-cli

Command-line interface for web3j
https://github.com/web3j/web3j-cli
Other
58 stars 30 forks source link

File outside of allowed directories #75

Open autodidacticon opened 3 years ago

autodidacticon commented 3 years ago

This seems similar to: https://github.com/web3j/solidity-gradle-plugin/issues/1

> Task :compileSolidity FAILED
Error: Source "src/main/solidity/lib/contractmodule.sol" not found: File outside of allowed directories.
 --> src/main/solidity/core/impl/mycontract.sol:6:1:
  |
6 | import "../../lib/contractmodule.sol";
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Is there a workaround for this?