apply plugin: 'java-library-distribution' apply plugin: 'maven-publish' distributions { main{ baseName = 'MOA-SPSS' } } dependencies { compile fileTree(dir: '../libs', include: '*.jar') compile project(':common') testCompile project(path: ':common', configuration: 'tests') compile 'log4j:log4j:1.2.17' compile 'commons-logging:commons-logging:1.2' compile 'commons-io:commons-io:2.7' compile 'commons-codec:commons-codec:1.14' compile 'org.apache.axis:axis-jaxrpc:1.4' compile 'org.xerial:sqlite-jdbc:3.32.3.2' compile 'javax.xml.bind:jaxb-api:2.3.1' compile 'com.sun.xml.bind:jaxb-core:2.3.0.1' compile 'com.sun.xml.bind:jaxb-impl:2.3.2' compile 'org.postgresql:postgresql:42.2.15.jre7' compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.11' compile group: 'org.apache.httpcomponents', name: 'httpclient-cache', version: '4.5.12' } task releases(type: Copy) { from jar.outputs from distZip.outputs from distTar.outputs into rootDir.toString() + "/releases/" + version }