repositories { google() jcenter() } dependencies { implementation 'org.freemarker:freemarker:2.3.20' } sourceSets { main { groovy { srcDir new File(rootDir, "../../../../../build/buildSrc/src/main/groovy") } } }