how to create a jar file in gradle code example Example: adding jar file gradle dependencies { compile fileTree(dir: 'libs', include: '*.jar') }