plugins { id 'java' id 'idea' } def currVersion = "1.0.0" ext.projectIds = ['group': 'com.bdware.perfcalculator', 'version': currVersion] sourceCompatibility = 1.8 sourceSets { main { java { srcDir 'src/main/java' } resources { srcDir 'src/main/resources' } } test { java { srcDirs 'src/test/java', 'src/test/deploy' } resources { srcDir 'src/test/resources' } } } dependencies { implementation 'com.google.code.gson:gson:2.8.8' implementation 'junit:junit:4.13.1' testImplementation 'junit:junit:4.13.2' } task copyLibs(type: Copy) { from configurations.runtimeClasspath into "./build/libs/" } repositories { mavenCentral() }