buildscript { repositories { mavenCentral() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:1.4.3.RELEASE") } } apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'idea' apply plugin: 'org.springframework.boot' apply plugin: 'war' sourceSets { main { java { srcDirs = ['src/main/java'] } resources { srcDirs = ['src/main/resources'] } } } war{ archiveName = 'portos-camel-document-processor.war' baseName = 'portos-camel-document-processor' version = '1.0.0 SNAPSHOT' webAppDirName = 'dist' } jar { baseName = 'gs-spring-boot' version = '0.1.0' } repositories { mavenCentral() } sourceCompatibility = 1.8 targetCompatibility = 1.8 dependencies { //compile files('./lib/tref-sign-exctractor-0.1.0.jar') compile("org.springframework.boot:spring-boot-starter-web") providedRuntime("org.springframework.boot:spring-boot-starter-tomcat") compile 'org.springframework.security:spring-security-web:4.0.4.RELEASE' compile 'org.springframework.security:spring-security-config:4.0.4.RELEASE' // https://mvnrepository.com/artifact/com.liferay.portal/portal-client compile group: 'com.liferay.portal', name: 'portal-client', version: '6.2.5' // https://mvnrepository.com/artifact/org.apache.axis/axis compile group: 'org.apache.axis', name: 'axis', version: '1.4' // https://mvnrepository.com/artifact/javax.xml/jaxrpc-api compile group: 'javax.xml', name: 'jaxrpc-api', version: '1.1' // https://mvnrepository.com/artifact/postgresql/postgresql compile group: 'postgresql', name: 'postgresql', version: '9.1-901.jdbc4' // https://mvnrepository.com/artifact/commons-dbcp/commons-dbcp compile group: 'commons-dbcp', name: 'commons-dbcp', version: '1.4' // https://mvnrepository.com/artifact/org.apache.camel/camel-sql compile group: 'org.apache.camel', name: 'camel-sql', version: '2.14.0' // https://mvnrepository.com/artifact/org.apache.camel/camel-spring-boot compile group: 'org.apache.camel', name: 'camel-spring-boot', version: '2.15.1' // https://mvnrepository.com/artifact/com.itextpdf/itextpdf compile group: 'com.itextpdf', name: 'itextpdf', version: '5.5.10' // https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15on compile group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.56' // https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk15on compile group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.56' // https://mvnrepository.com/artifact/commons-codec/commons-codec compile group: 'commons-codec', name: 'commons-codec', version: '1.10' // https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.5' // https://mvnrepository.com/artifact/commons-io/commons-io compile group: 'commons-io', name: 'commons-io', version: '2.5' // https://mvnrepository.com/artifact/org.apache.tika/tika-core compile group: 'org.apache.tika', name: 'tika-core', version: '1.14' testCompile("junit:junit") }