How to add dependency in Gradle

implementation group: ‘io.testproject’, name: ‘java-sdk’, version: ‘1.2.4-RELEASE’