plugins { id 'java' } group projectGroup version projectVersion repositories { mavenLocal() mavenCentral() } test { useJUnitPlatform() } java { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 } jar { manifest { attributes( 'Main-Class': 'cz.senslog.watchdog.app.Main' ) } from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } } } dependencies { implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.18.0' implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.18.0' implementation group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.18.0' implementation group: 'com.beust', name: 'jcommander', version: '1.78' implementation group: 'org.yaml', name: 'snakeyaml', version: '1.33' implementation group: 'org.apache.httpcomponents.client5', name: 'httpclient5', version: '5.1.3' implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.9' implementation group: 'com.github.spullara.mustache.java', name: 'compiler', version: '0.9.10' implementation group: 'org.jdbi', name: 'jdbi3-postgres', version: '3.12.2' implementation group: 'org.jdbi', name: 'jdbi3-jodatime2', version: '3.12.2' implementation group: 'com.zaxxer', name: 'HikariCP', version: '3.4.2' implementation group: 'org.postgresql', name: 'postgresql', version: '42.2.27' implementation group: 'javax.mail', name: 'javax.mail-api', version: '1.6.2' implementation group: 'com.sun.mail', name: 'javax.mail', version: '1.6.2' testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.4.0' }