/* * This file was generated by the Gradle 'init' task. */ apply plugin: 'java' apply plugin: 'application' mainClassName = 'App' sourceCompatibility = 1.8 targetCompatibility = 1.8 version = '1.0' compileJava.options.encoding = 'UTF-8' compileTestJava.options.encoding = "UTF-8" repositories { mavenLocal() mavenCentral() } dependencies { implementation 'mysql:mysql-connector-java:8.0.17' implementation 'org.apache.httpcomponents:httpclient:4.5.9' implementation 'com.googlecode.json-simple:json-simple:1.1.1' implementation 'com.google.code.gson:gson:2.8.6' testImplementation 'junit:junit:4.11' compile 'com.google.api-client:google-api-client:1.23.0' compile 'com.google.oauth-client:google-oauth-client-jetty:1.23.0' compile 'com.google.apis:google-api-services-calendar:v3-rev305-1.23.0' compile 'com.google.guava:guava:29.0-jre' compile group: 'commons-cli', name: 'commons-cli', version: '1.3.1' compile group: 'net.sourceforge.argparse4j', name: 'argparse4j', version: '0.8.1' compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.13.3' compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.13.3' } jar { manifest { attributes( 'Main-Class': 'de.jeyp91.App' ) } from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } } }