Open Eclipse -> Go to File -> Open Project From File System -> Show other specialised import wizard-> Gradle -> Existing Gradle -> sample-project-gradle-master
Import this project to Eclipse (I use Eclipse Oxygen 3A) as an existing grandle project.
Our eclipse project uses the web3j library. Java library to interact with Ethereum blockchain and solidity smart contracts