-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
66 lines (55 loc) · 1.66 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
description = "ECS browser website"
group = 'com.emc.ecs'
version = '1.0.2'
ext.licenseName = ''
ext.licenseUrl = ''
buildscript {
ext {
springBootVersion = '1.3.7.RELEASE'
}
repositories {
mavenCentral()
jcenter { url "https://jcenter.bintray.com/" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath 'com.smokejumperit.gradle.license:Gradle-License-Report:0.0.2'
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'
apply plugin: 'license-report'
defaultTasks 'build'
jar {
baseName = 'ecs-browser'
version = '1.0.2'
into('META-INF/dependency-license') {
from 'build/reports/dependency-license'
}
}
jar.dependsOn 'dependencyLicenseReport'
repositories {
mavenCentral()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
compile("org.springframework.boot:spring-boot-starter-web:${springBootVersion}") {
exclude module: "spring-boot-starter-tomcat"
}
compile("org.springframework.boot:spring-boot-starter-jetty:${springBootVersion}")
compile("org.springframework.boot:spring-boot-starter-actuator:${springBootVersion}")
compile("org.slf4j:slf4j-api:1.7.21")
compile("com.emc.ecs:object-client:3.0.3") {
exclude group: 'com.emc.ecs', module: 'object-transform'
exclude group: 'org.jdom', module: 'jdom2'
exclude group: 'org.slf4j', module: 'slf4j-api'
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
}
testCompile("junit:junit:4.12")
}
task wrapper(type: Wrapper) {
gradleVersion = '2.14'
}