plugins { id 'java' } group 'com.wasteinformationserver' version '1.0-SNAPSHOT' sourceCompatibility = 1.8 repositories { mavenCentral() } sourceSets { main.java.srcDirs = ['src/java'] main.resources.srcDirs = ['src/resources'] } dependencies { compile group: 'org.eclipse.paho', name: 'org.eclipse.paho.client.mqttv3', version: '1.0.2' compile group: 'mysql',name:'mysql-connector-java',version: '8.0.18' }