2 apply plugin: 'application'
5 sourceCompatibility = 1.7
6 targetCompatibility = 1.7
14 compile 'com.google.api-client:google-api-client:1.23.0'
15 compile 'com.google.oauth-client:google-oauth-client-jetty:1.23.0'
16 compile 'com.google.apis:google-api-services-drive:v3-rev110-1.23.0'
19 //create a single Jar with all dependencies https://www.mkyong.com/gradle/gradle-create-a-jar-file-with-dependencies/
20 task fatJar(type: Jar) {
22 attributes 'Implementation-Title': 'Gradle Jar File Example',
23 'Implementation-Version': version,
26 baseName = project.name + '-all'
27 from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }