-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.gradle
101 lines (85 loc) · 2.98 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
import com.github.jk1.license.render.*
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: "io.spring.dependency-management"
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'com.github.jk1.dependency-license-report'
apply plugin: 'project-report'
apply plugin: "com.github.johnrengelman.shadow"
buildscript {
repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
maven {
url "http://repository.activeeon.com/content/groups/proactive/"
}
}
dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.3.5.RELEASE'
classpath "io.spring.gradle:dependency-management-plugin:0.6.1.RELEASE"
classpath 'com.github.jk1:gradle-license-report:1.7'
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.4'
}
}
repositories {
mavenCentral()
maven {
url "http://repository.activeeon.com/content/groups/proactive/"
}
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
group = 'org.ow2.proactive'
archivesBaseName = 'catalog-client'
dependencyManagement {
imports {
mavenBom "org.ow2.proactive:parent-bom:${version}"
}
}
licenseReport {
configurations = ['runtime']
renderers = [new InventoryHtmlReportRenderer()]
}
uploadArchives {
repositories {
mavenDeployer {
snapshotRepository(url: "http://repository.activeeon.com/content/repositories/snapshots/") {
authentication(userName: "${System.getProperty('nexusUsername')}",
password: "${System.getProperty('nexusPassword')}")
}
repository(url: "http://repository.activeeon.com/content/repositories/releases/") {
authentication(userName: "${System.getProperty('nexusUsername')}",
password: "${System.getProperty('nexusPassword')}")
}
}
}
}
dependencies {
compile "io.swagger:swagger-annotations"
compile "com.fasterxml.jackson.core:jackson-core"
compile "com.fasterxml.jackson.core:jackson-annotations"
compile "com.fasterxml.jackson.core:jackson-databind"
compile "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider"
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310"
compile "org.projectlombok:lombok"
compile "com.google.guava:guava"
compile "javax.ws.rs:javax.ws.rs-api"
compile "org.glassfish.jersey.core:jersey-client:2.41"
compile "org.glassfish.jersey.core:jersey-common:2.41"
compile 'org.glassfish.jersey.media:jersey-media-json-jackson:2.41'
compile 'org.glassfish.jersey.media:jersey-media-multipart:2.41'
compile 'org.glassfish.jersey.inject:jersey-hk2:2.41'
compile 'org.openapitools:jackson-databind-nullable:0.2.6'
testCompile "com.google.truth:truth"
testCompile "org.mockito:mockito-core"
testCompile "junit:junit"
}
configurations {
shadowJar
}
shadowJar {
zip64 true
}