Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- buildscript {
- ext {
- springBootVersion = "1.2.5.RELEASE"
- }
- repositories {
- mavenCentral()
- maven {
- url "https://plugins.gradle.org/m2/"
- }
- }
- dependencies {
- classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
- classpath "com.moowork.gradle:gradle-node-plugin:0.10"
- classpath 'org.springframework:springloaded:1.2.3.RELEASE'
- classpath 'com.sun.mail:javax.mail:1.5.4'
- classpath "net.saliman:gradle-cobertura-plugin:2.2.7"
- }
- }
- plugins {
- id "com.moowork.node" version "0.10"
- id 'net.saliman.cobertura' version '2.2.7'
- }
- apply plugin: 'java'
- apply plugin: 'spring-boot'
- apply plugin: 'com.moowork.node'
- apply plugin: 'net.saliman.cobertura'
- apply plugin: "sonar-runner"
- sourceCompatibility = '1.8'
- repositories {
- mavenCentral()
- maven {
- url 'https://oss.sonatype.org/content/repositories/snapshots/'
- }
- maven { url 'https://jitpack.io' }
- }
- dependencies {
- compile "org.springframework.boot:spring-boot-starter-web:${springBootVersion}"
- compile "org.springframework.boot:spring-boot-starter-data-rest:${springBootVersion}"
- compile "org.springframework.boot:spring-boot-starter-data-jpa:${springBootVersion}"
- // compile 'org.springframework.security.oauth:spring-security-oauth2:2.0.7.RELEASE'
- // compile 'org.springframework.security:spring-security-jwt:1.0.3.RELEASE'
- // compile 'org.springframework.cloud:spring-cloud-starter-security:1.0.0.RELEASE'
- compile 'org.springframework.ldap:spring-ldap-core:2.0.3.RELEASE'
- compile 'org.postgresql:postgresql:9.4-1201-jdbc41'
- compile 'com.sun.mail:javax.mail:1.5.4'
- compile 'org.springframework:spring-support:2.0.8'
- compile 'org.apache.logging.log4j:log4j-core:2.3'
- compile 'com.microsoft.ews-java-api:ews-java-api:2.0-SNAPSHOT'
- compile 'org.springframework.boot:spring-boot-starter-websocket'
- compile 'org.springframework:spring-messaging'
- testCompile "org.springframework.boot:spring-boot-starter-test:${springBootVersion}"
- testCompile 'org.easytesting:fest-assert:1.4'
- testCompile 'org.mockito:mockito-all:1.10.19'
- testCompile 'org.testng:testng:6.9.4'
- testCompile 'org.glassfish:javax.json:1.0.4'
- testCompile 'com.h2database:h2:1.4.187'
- testCompile 'com.github.springtestdbunit:spring-test-dbunit:1.2.1'
- testCompile 'com.jolbox:bonecp-spring:0.8.0.RELEASE'
- testCompile 'org.powermock:powermock-mockito-release-full:1.6.2'
- }
- test{
- useTestNG()
- testLogging {
- events "passed"
- }
- testLogging.showStandardStreams = false
- }
- task wrapper(type: Wrapper) {
- gradleVersion = '2.5'
- }
- node {
- version = '0.12.2'
- npmVersion = '2.7.5'
- download = true
- }
- sonarRunner {
- sonarProperties {
- property "sonar.sourceEncoding", "UTF-8"
- property "sonar.host.url", "http://localhost:9000"
- property "sonar.jdbc.url", "jdbc:postgresql://localhost/sonarqube"
- property "sonar.jdbc.driverClassName", "org.postgresql.Driver"
- property "sonar.jdbc.username", "sonarqube"
- property "sonar.jdbc.password", "sonarqube"
- }
- }
- cobertura {
- coverageFormats = [ 'html', 'xml' ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement