hyperledger-web3j / web3j-solidity-gradle-plugin

Gradle plugin providing tasks to compile Solidity contracts.
Apache License 2.0
21 stars 25 forks source link

Add default allow paths #4

Closed xaviarias closed 5 years ago

xaviarias commented 5 years ago

This pull request addresses issue #3 by adding $projectDir/src/<name>/solidity for every project source set.

xaviarias commented 5 years ago

There is not unit test because in JUnit the test Solidity files are moved to build/resources/main/solidity so makes complicated to include this source without affecting the plugin code.

I have tested it locally with the web3j sample Gradle project and works! 👍