apply plugin: 'java-library-distribution' apply plugin: 'maven-publish' distributions { main { distributionBaseName = 'moa-spss-lib' } } dependencies { implementation project(':common') testImplementation project(path: ':common', configuration: 'testArtifacts') api fileTree(dir: '../libs', include: '*.jar') api group: 'at.gv.egovernment.moa.sig', name: 'tsl-lib', version: '2.0.4.1' api 'commons-logging:commons-logging:1.2' api 'commons-io:commons-io:2.8.0' api 'commons-codec:commons-codec:1.15' api 'org.apache.axis:axis-jaxrpc:1.4' api 'org.xerial:sqlite-jdbc:3.34.0' api 'javax.xml.bind:jaxb-api:2.3.1' api 'com.sun.xml.bind:jaxb-core:2.3.0.1' api 'com.sun.xml.bind:jaxb-impl:2.3.2' api 'org.postgresql:postgresql:42.2.19.jre7' api group: 'org.apache.pdfbox', name: 'pdfbox', version: '2.0.23' api group: 'org.apache.pdfbox', name: 'pdfbox-tools', version: '2.0.23' api group: 'org.apache.pdfbox', name: 'pdfbox-app', version: '2.0.23' api group: 'org.apache.pdfbox', name: 'preflight', version: '2.0.23' api group: 'org.apache.pdfbox', name: 'preflight-app', version: '2.0.23' api group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0' api group: 'org.apache.httpcomponents', name: 'httpclient-cache', version: '4.5.13' testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-migrationsupport', version: '5.7.1' testImplementation group: 'org.junit.platform', name: 'junit-platform-engine', version: '1.7.1' testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.7.1' testImplementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3' } task releases(type: Copy) { //from jar.outputs from distZip.outputs //from distTar.outputs into rootDir.toString() + "/releases/" + version }