apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'java-library-distribution' jar { manifest { attributes 'Implementation-Title': 'PDF-AS-4 Web Extension Library', 'JARMANIFEST': 'PDF-AS-LIB' } } repositories { mavenLocal() mavenCentral() } dependencies { implementation project (':pdf-as-web') implementation project (':pdf-as-web-status') implementation project (':pdf-as-web-statistic-api') api "org.hibernate:hibernate-core:4.3.11.Final" api "org.hibernate:hibernate-entitymanager:4.3.11.Final" implementation group: 'log4j', name: 'log4j', version: '1.2.17' implementation group: 'org.slf4j', name: 'slf4j-api', version: slf4jVersion testImplementation group: 'junit', name: 'junit', version: '4.+' } task releases(type: Copy) { from jar.outputs from distZip.outputs from distTar.outputs into rootDir.toString() + "/releases/" + version } releases.dependsOn jar releases.dependsOn sourcesJar releases.dependsOn distZip releases.dependsOn distTar