File: dependencies.gradle

package info (click to toggle)
gradle 3.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 74,464 kB
  • ctags: 67,415
  • sloc: java: 274,147; xml: 34,526; cpp: 4,153; ansic: 1,013; sh: 300; makefile: 42; asm: 17; jsp: 17; objc: 10
file content (193 lines) | stat: -rwxr-xr-x 7,792 bytes parent folder | download
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
/*
 * Copyright 2012 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

ext {
    versions = [:]
    libraries = [:]
}

versions.commons_io = 'commons-io:commons-io:2.2'

versions.groovy = "2.4.7"

versions.bouncycastle = "1.51"

versions.maven = "3.x"

libraries.ant = dependencies.module('org.apache.ant:ant:1.9.6') {
    dependency 'org.apache.ant:ant-launcher:1.9.6@jar'
}

libraries.asm =  'org.ow2.asm:asm-all:5.1'
libraries.bndlib = dependencies.module('biz.aQute.bnd:bndlib:3.2.0')
libraries.commons_cli = 'commons-cli:commons-cli:1.2@jar'
libraries.commons_io = dependencies.module(versions.commons_io)
libraries.commons_lang = 'commons-lang:commons-lang:2.6@jar'
libraries.commons_collections = 'commons-collections:commons-collections3:3.x@jar'
libraries.jsch = "com.jcraft:jsch:0.1.53"
libraries.ivy = dependencies.module('org.apache.ivy:ivy:2.2.0'){
    dependency libraries.jsch
}
libraries.jcip = "net.jcip:jcip-annotations:1.0@jar"
libraries.inject = dependencies.module('javax.inject:atinject-jsr330-api:debian')

// Logging
libraries.slf4j_api = dependencies.module('org.slf4j:slf4j-api:1.7.10')
libraries.jcl_to_slf4j = dependencies.module('org.slf4j:jcl-over-slf4j:1.7.10') {
    dependency libraries.slf4j_api
}
libraries.jul_to_slf4j = dependencies.module('org.slf4j:jul-to-slf4j:1.7.10') {
    dependency libraries.slf4j_api
}
libraries.log4j_to_slf4j = dependencies.module('org.slf4j:log4j-over-slf4j:1.7.10') {
    dependency libraries.slf4j_api
}
libraries.logback_core = dependencies.module('ch.qos.logback:logback-core:1.0.13')
libraries.logback_classic = dependencies.module('ch.qos.logback:logback-classic:1.0.13') {
    dependency libraries.logback_core
    dependency libraries.slf4j_api
}

// Jetty
libraries.servlet_api = "org.mortbay.jetty:servlet-api:2.5-20081211@jar"
libraries.jetty_util = dependencies.module("org.mortbay.jetty:jetty-util:6.1.26") {
    dependency libraries.slf4j_api
    dependency libraries.servlet_api
}
libraries.jetty = dependencies.module("org.mortbay.jetty:jetty:6.1.26") {
    dependency libraries.jetty_util
    dependency libraries.servlet_api
}

libraries.commons_codec = "commons-codec:commons-codec:1.6@jar"
libraries.jcifs = "org.samba.jcifs:jcifs:1.3.17@jar"
libraries.commons_httpclient = dependencies.module('org.apache.httpcomponents:httpclient:4.4.1') {
    dependency "org.apache.httpcomponents:httpcore:4.4.4@jar"
    dependency libraries.jcl_to_slf4j
    dependency libraries.commons_codec
    dependency libraries.jcifs
}


libraries += [
        dom4j: 'dom4j:dom4j:1.6.1@jar',
        guava: 'com.google.guava:guava:17.0@jar',
        jsr305: 'com.google.code.findbugs:jsr305:1.3.9@jar',
        groovy: "org.codehaus.groovy:groovy-all:debian",
        jaxen: 'jaxen:jaxen:1.1@jar',
        jcip: "net.jcip:jcip-annotations:1.0@jar",
        junit: 'junit:junit4:4.x@jar',
        xmlunit: 'xmlunit:xmlunit:1.3',
        nekohtml: 'net.sourceforge.nekohtml:nekohtml:1.9.14',
        xbean: 'org.apache.xbean:xbean-reflect:3.4@jar', //required by maven3 classes
        nativePlatform: 'net.rubygrapefruit:native-platform:0.11',
        xerces: "xerces:xercesImpl:2.9.1",
        objenesis: 'org.objenesis:objenesis:1.2@jar',
        jsoup:'org.jsoup:jsoup:1.6.3'
]

libraries.nekohtml = [libraries.nekohtml, libraries.xerces]

libraries.maven3 = dependencies.module("org.apache.maven:maven-core-3.x:${versions.maven}") {
    dependency "org.apache.maven:maven-settings-3.x:${versions.maven}@jar"
    dependency "org.apache.maven:maven-settings-builder-3.x:${versions.maven}@jar"

    //plexus:
    dependency "org.codehaus.plexus:plexus-utils:2.0.6@jar"
    dependency "org.codehaus.plexus:plexus-interpolation:1.14@jar"
    dependency "org.codehaus.plexus:plexus-component-annotations-1.5:1.6@jar"
    dependency "org.codehaus.plexus:plexus-container-default:1.5.5@jar"
    dependency "org.codehaus.plexus:plexus-classworlds2:2.x@jar"

    //sonatype plexus
    dependency "org.sonatype.plexus:plexus-cipher:1.7@jar"
    dependency "org.sonatype.plexus:plexus-sec-dispatcher:1.3@jar"

    //core:
    dependency "org.apache.maven:maven-core-3.x:${versions.maven}@jar"
    dependency "org.apache.maven:maven-compat-3.x:${versions.maven}@jar"
    dependency "org.apache.maven:maven-model-builder-3.x:${versions.maven}@jar"
    dependency "org.apache.maven:maven-model-3.x:${versions.maven}@jar"

    //somewhat core:
    dependency "org.apache.maven:maven-artifact-3.x:${versions.maven}@jar"
    dependency "org.apache.maven:maven-repository-metadata-3.x:${versions.maven}@jar"
    dependency "org.apache.maven:maven-plugin-api-3.x:${versions.maven}@jar"
    dependency "org.apache.maven:maven-aether-provider-3.x:${versions.maven}@jar"

    dependency 'org.apache.maven.wagon:wagon-file-2.x:2.x@jar'
    dependency 'org.apache.maven.wagon:wagon-http-2.x:2.x@jar'
    dependency 'org.apache.maven.wagon:wagon-provider-api-2.x:2.x@jar'
    dependency 'org.apache.maven.wagon:wagon-http-shared-2.x:2.x@jar'

    //eather:
    dependency 'org.eclipse.aether:eclipse-aether-api:1.13.1@jar'
    dependency 'org.eclipse.aether:eclipse-aether-impl:1.13.1@jar'
    dependency 'org.eclipse.aether:eclipse-aether-spi:1.13.1@jar'
    dependency 'org.eclipse.aether:eclipse-aether-util:1.13.1@jar'
    dependency 'org.eclipse.aether:eclipse-aether-connector-basic:1.13.1@jar'
}

libraries.spock = [
    'org.spockframework:spock-core:1.0-groovy-2.4@jar',
    libraries.groovy,
    libraries.objenesis,
    'cglib:cglib-nodep:2.2.2'
]
libraries.jmock = [
    'org.jmock:jmock:2.5.1',
    'org.hamcrest:hamcrest-core:1.3',
    'org.hamcrest:hamcrest-library:1.3',
    dependencies.create('org.jmock:jmock-junit4:2.5.1') { exclude group: 'junit', module: 'junit-dep' }, //junit-dep pulls old definitions of core junit types.
    'org.jmock:jmock-legacy:2.5.1',
    libraries.objenesis,
    'cglib:cglib-nodep:2.2'
]
libraries.gson = "com.google.code.gson:gson:2.7"
libraries.sshd = dependencies.module("org.apache.sshd:sshd-core:0.13.0") {
    dependency libraries.slf4j_api
    dependency "org.apache.mina:mina-core:2.0.8"
}

libraries.bouncycastle_provider = "org.bouncycastle:bcprov:debian"
libraries.bouncycastle_pgp = dependencies.module("org.bouncycastle:bcpg:debian") {
    dependency libraries.bouncycastle_provider
}

libraries.joda = 'joda-time:joda-time:2.8.2@jar'

versions.aws = "1.11.6"
versions.jackson = "2.6.6"
libraries.awsS3 = [
        "com.amazonaws:aws-java-sdk-s3:${versions.aws}@jar",
        "com.amazonaws:aws-java-sdk-kms:${versions.aws}@jar",
        "com.amazonaws:aws-java-sdk-core:${versions.aws}@jar",
        "com.fasterxml.jackson.core:jackson-core:${versions.jackson}@jar",
        "com.fasterxml.jackson.core:jackson-annotations:${versions.jackson}@jar",
        "com.fasterxml.jackson.core:jackson-databind:${versions.jackson}@jar"
] + libraries.commons_httpclient + libraries.joda

allprojects {
    configurations.all {
        resolutionStrategy.eachDependency { details ->
            if (details.requested.group == 'org.ow2.asm') {
                details.useTarget(libraries.asm)
            } else if (details.requested.group == 'org.codehaus.groovy') {
                details.useTarget(libraries.groovy)
            }
        }
    }
}