forked from vincentx/i0
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
69 lines (58 loc) · 1.91 KB
/
build.gradle
File metadata and controls
69 lines (58 loc) · 1.91 KB
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
allprojects {
group = 'com.thoughtworks.i0'
version = '0.2.4'
}
subprojects {
repositories {
mavenCentral()
maven {
url 'https://github.com/vincentx/i0/raw/master/repository'
}
}
project.ext {
jerseyVersion = '1.16'
jettyVersion = '9.0.0.M3'
jacksonVersion = '2.1.1'
guavaVersion = '13.0.1'
guiceVersion = '3.0'
logbackVersion = '1.0.7'
slf4jVersion = '1.7.2'
flywayVersion = '2.0.2'
hibernateJpaVersion = '4.1.7.Final'
hibernateValidatorVersion = '4.3.0.Final'
grizzlyVersion = "2.3-rc4"
tyrusVersion="1.0-b11"
junitVersion = '4.10'
mockitoVersion = '1.9.5-rc1'
}
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'idea'
sourceCompatibility = '1.7'
uploadArchives {
repositories {
// mavenDeployer {
// repository(url: uri('/Users/twer/Work/repository'))
// }
deployer = mavenDeployer {
configureAuth = {
authentication(userName: "deployment", password: "deployment123")
}
repository(url: "http://132.147.68.178:8081/nexus/content/repositories/i0/", configureAuth)
}
}
}
if(project.name != 'i0-gradle'){
dependencies {
compile 'com.google.code.findbugs:jsr305:2.0.1'
compile 'javax.inject:javax.inject:1'
compile 'javax.validation:validation-api:1.0.0.GA'
compile "com.google.guava:guava:$guavaVersion"
compile "com.google.inject:guice:$guiceVersion"
compile "org.slf4j:slf4j-api:$slf4jVersion"
runtime "org.hibernate:hibernate-validator:$hibernateValidatorVersion"
testCompile "junit:junit:$junitVersion"
testCompile "org.mockito:mockito-all:$mockitoVersion"
}
}
}