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

Add Java compilation to initial checks #123

Merged
merged 3 commits into from
May 20, 2022
Merged

Add Java compilation to initial checks #123

merged 3 commits into from
May 20, 2022

Conversation

drinkcoffee
Copy link
Contributor

Previously, the initial checks during the Java SDK build and test was to run solFormat and spotlessCheck. Adding in a compile takes almost no extra time. This is achieved by running: ./gradlew build -x test . This runs everything in the build process, except running the test code.

The advantage of doing this is finding out about compilation failures that IDEs might not be highlighting earlier in the build process.

There is an additional Circle CI target which only runs the ./gradlew build -x test . Unfortunately, prior to running this Web3J needs to be built and Solidity needs to be installed. This results in the overall build being 1 1/2 minutes longer. Hence, this code is available for possible future use, but is not currently run.

@drinkcoffee drinkcoffee requested a review from ermyas May 20, 2022 03:13
@drinkcoffee drinkcoffee merged commit 8a13ba7 into main May 20, 2022
@drinkcoffee drinkcoffee deleted the separate-build branch May 20, 2022 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants