1 apply plugin: 'java' 2 3 sourceSets { 4 main { 5 java { 6 srcDirs = ['src'] 7 } 8 } 9 } 10 11 dependencies { 12 compile project(':hamcrest') 13 } 14