forked from aol/micro-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
138 lines (113 loc) · 6.39 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
def custom ={ "$rootDir/gradle/${it}.gradle"}
buildscript {
repositories { jcenter()
maven { url 'https://github.com/serkan-ozal/maven-repository/raw/master/' }
}
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.2'
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.0'
classpath 'com.github.lkishalmi.gradle:gradle-bom-plugin:0.3'
}
}
String jerseyVersion = '2.17'
String grizzlyVersion = '2.3.19'
apply plugin: 'com.github.lkishalmi.bill-of-materials'
apply from: "$rootDir/versions.gradle"
subprojects {
apply plugin:'java'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'com.bmuschko.nexus'
sourceCompatibility = 1.8
targetCompatibility = 1.8
jar {
manifest {
attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version
}
}
repositories {
mavenCentral()
maven { url "http://repo.maven.apache.org/maven2" }
maven { url 'https://github.com/serkan-ozal/maven-repository/raw/master/' }
jcenter()
}
dependencies {
compile 'com.nurkiewicz.lazyseq:lazyseq:0.0.1'
compile 'org.springframework.data:spring-data-jpa:1.7.2.RELEASE'
compile 'com.googlecode.genericdao:dao-hibernate:1.2.0'
compile group: 'org.hibernate', name:'hibernate-validator', version:'5.1.3.Final'
compile group: 'org.hibernate', name: 'hibernate-core', version:'4.3.8.Final'
compile group: 'org.hibernate', name: 'hibernate-entitymanager', version:'4.3.8.Final'
compile ('com.ryantenney.metrics:metrics-spring:3.0.3'){
exclude(module: 'org.springframework')
}
compile group: 'com.aol.simplereact', name:'simple-react', version:'0.95'
compile group: 'org.apache.httpcomponents', name:'httpclient', version:'4.4'
compile group: 'org.apache.httpcomponents', name:'httpasyncclient', version:'4.1-beta1'
compile group: 'com.wordnik', name: 'swagger-jersey2-jaxrs_2.10', version:'1.3.10'
compile group: 'org.springframework', name: 'spring-web', version:'4.1.5.RELEASE'
compile group: 'org.springframework', name: 'spring-context', version:'4.1.5.RELEASE'
compile group: 'org.springframework', name: 'spring-context-support', version:'4.1.5.RELEASE'
compile group: 'ch.qos.logback', name: 'logback-classic', version:'1.0.4'
compile group: 'ch.qos.logback', name: 'logback-core', version:'1.0.4'
compile group: 'org.slf4j', name: 'jcl-over-slf4j', version:'1.6.1'
compile group: 'org.apache.commons', name: 'commons-math', version:'2.2'
compile group: 'com.google.guava', name: 'guava', version:'18.0'
compile group: 'commons-lang', name: 'commons-lang', version:'2.6'
compile group: 'org.apache.commons', name: 'commons-io', version:'1.3.2'
compile group: 'org.apache.commons', name: 'commons-compress', version:'1.1'
compile group: 'org.apache.commons', name: 'commons-dbcp2', version:'2.1'
compile group: 'org.springframework', name: 'spring-jdbc', version:'4.1.5.RELEASE'
compile group: 'org.springframework', name: 'spring-orm', version:'4.1.5.RELEASE'
compile group: 'org.codehaus.groovy', name: 'groovy-all', version:'2.3.3'
compile group: 'commons-collections', name: 'commons-collections', version:'3.2.1'
compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-guava', version:'2.5.2'
compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jdk8', version:'2.5.2'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version:'2.5.2'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version:'2.5.2'
compile group: 'com.fasterxml.jackson.jaxrs', name: 'jackson-jaxrs-json-provider', version:'2.5.2'
compile group: 'com.fasterxml.jackson.jaxrs', name: 'jackson-jaxrs-base', version:'2.5.2'
compile group: 'com.fasterxml.jackson.module', name: 'jackson-module-jaxb-annotations', version:'2.5.2'
compile group: 'org.glassfish.jersey.containers', name: 'jersey-container-servlet', version:"$jerseyVersion"
compile group: 'org.glassfish.jersey.core', name: 'jersey-client', version:"$jerseyVersion"
compile group: 'org.glassfish.jersey.core', name: 'jersey-server', version:"$jerseyVersion"
compile(group: 'org.glassfish.jersey.media', name: 'jersey-media-json-jackson', version:"$jerseyVersion") {
exclude(module: 'jackson-xc')
exclude(module: 'jackson-core-asl')
exclude(module: 'jackson-jaxrs')
exclude(module: 'jackson-mapper-asl')
}
compile group: 'javax.ws.rs', name: 'javax.ws.rs-api', version:'2.0'
compile group: 'org.aspectj', name: 'aspectjrt', version:'1.5.4'
compile group: 'org.aspectj', name: 'aspectjweaver', version:'1.5.4'
compile group: 'org.glassfish.grizzly', name: 'grizzly-http-server', version:"$grizzlyVersion"
compile group: 'org.glassfish.grizzly', name: 'grizzly-http-all', version:"$grizzlyVersion"
compile group: 'org.glassfish.jersey.containers', name: 'jersey-container-grizzly2-http', version:"$jerseyVersion"
compile group: 'org.glassfish.jersey.containers', name: 'jersey-container-grizzly2-servlet', version:"$jerseyVersion"
compile 'org.glassfish.jersey.media:jersey-media-multipart:2.17'
// compile 'org.glassfish.jersey:jax-rs-ri:2.0-rc1'
compile "org.glassfish.jersey.ext:jersey-spring3:$jerseyVersion"
compile "org.glassfish.jersey.ext:jersey-bean-validation:$jerseyVersion"
// testCompile ('org.springframework:spring-jdbc-roma:1.0.0-RELEASE'){
// exclude(module: 'javassist')
// exclude(module: 'org.springframework')
// }
compile ('com.nurkiewicz.jdbcrepository:jdbcrepository:0.4.1'){
exclude(module: 'org.springframework')
}
compile 'commons-beanutils:commons-beanutils:1.9.2'
compile 'javax.interceptor:javax.interceptor-api:1.2-b04'
compile 'javax.el:javax.el-api:2.2.4'
compile 'org.glassfish.web:javax.el:2.2.4'
testCompile group: 'com.cyrusinnovation', name: 'mockito-groovy-support', version:'1.3'
testCompile group: 'junit', name: 'junit', version:'4.10'
testCompile group: 'org.mockito', name: 'mockito-all', version:'1.9.5'
testCompile group: 'org.hamcrest', name: 'hamcrest-all', version:'1.1'
testCompile group: 'org.hsqldb', name:'hsqldb', version:'2.0.0'
compile(group: 'org.projectlombok', name: 'lombok', version:'1.14.2') {
/* This dependency was originally in the Maven provided scope, but the project was not of type war.
This behavior is not yet supported by Gradle, so this dependency has been converted to a compile dependency.
Please review and delete this closure when resolved. */
}
}
test { systemProperties 'property': 'value' }
}