-
Notifications
You must be signed in to change notification settings - Fork 99
/
project-spec.groovy
108 lines (102 loc) · 3.91 KB
/
project-spec.groovy
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
/*
* Copyright (c) 2010-2010 LinkedIn, Inc
* Portions Copyright (c) 2011-2015 Yan Pujante
*
* 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.
*/
spec = [
name: 'glu',
group: 'org.pongasoft',
version: '5.6.1',
versions: [
jdk: '1.7',
bootstrap: '2.3.1',
grails: '2.5.0',
groovy: '2.4.3',
jetty: '8.1.10.v20130312', // '9.0.0.v20130308' (cannot use 9 -> requires jdk 1.7)
utilsMisc: '2.1.0',
utilsZookeeper: '2.1.0',
restlet: '2.1.2',
sigar: '1.6.4',
slf4j: '1.7.10', // to be compatible with grails 3.0.1
sphinx: '1.2b3'
],
// information about the build framework itself
build: [
type: "gradle",
commands: [
"snapshot": "./gradlew clean test release",
"release": "./gradlew -Prelease=true clean test release; ./gradlew -Prelease=true publish"
]
]
]
spec.scmUrl = "[email protected]:pongasoft/${spec.name}.git"
spec.scm = 'git'
/**
* External dependencies
*/
spec.external = [
commonsCli: 'commons-cli:commons-cli:1.2',
commonsIO: 'commons-io:commons-io:2.2',
ehcacheCore: 'net.sf.ehcache:ehcache-core:2.6.11', // using same version embedded in grails
grailsBootstrap: "org.grails:grails-bootstrap:${spec.versions.grails}",
grailsCore: "org.grails:grails-core:${spec.versions.grails}",
groovy: "org.codehaus.groovy:groovy-all:${spec.versions.groovy}",
groovyTest: "org.codehaus.groovy:groovy-test:${spec.versions.groovy}",
hsqldb: "hsqldb:hsqldb:1.8.0.10",
httpClient: "org.apache.httpcomponents:httpclient:4.2.6",
ivy: 'org.apache.ivy:ivy:2.4.0',
jbcrypt: 'org.mindrot:jbcrypt:0.3m',
jettyPackage: [
group: "org.eclipse.jetty",
name: "jetty-distribution",
version: spec.versions.jetty,
ext: "tar.gz"
],
junit: 'junit:junit:4.12',
utilsMiscCore: "org.pongasoft:org.linkedin.util-core:${spec.versions.utilsMisc}",
utilsMiscGroovy: "org.pongasoft:org.linkedin.util-groovy:${spec.versions.utilsMisc}",
utilsZookeeperCliImpl: "org.pongasoft:org.linkedin.zookeeper-cli-impl:${spec.versions.utilsZookeeper}",
utilsZookeeperCliPackage: "org.pongasoft:org.linkedin.zookeeper-cli:${spec.versions.utilsZookeeper}@tgz",
utilsZookeeperImpl: "org.pongasoft:org.linkedin.zookeeper-impl:${spec.versions.utilsZookeeper}",
utilsZookeeperServerPackage: "org.pongasoft:org.linkedin.zookeeper-server:${spec.versions.utilsZookeeper}@tgz",
log4j: 'log4j:log4j:1.2.17',
mimeUtil: 'eu.medsea.mimeutil:mime-util:2.1.3',
restlet: "org.restlet.jse:org.restlet:${spec.versions.restlet}",
restletExtHttpClient: "org.restlet.jse:org.restlet.ext.httpclient:${spec.versions.restlet}",
restletExtJson: "org.restlet.jse:org.restlet.ext.json:${spec.versions.restlet}",
restletExtJetty: "org.restlet.jse:org.restlet.ext.jetty:${spec.versions.restlet}",
servletApi: 'javax.servlet:servlet-api:2.5',
shiro: "org.apache.shiro:shiro-all:1.2.1",
sigar: "com.hyperic:sigar:${spec.versions.sigar}",
slf4j: "org.slf4j:slf4j-api:${spec.versions.slf4j}",
slf4jLog4j: "org.slf4j:slf4j-log4j12:${spec.versions.slf4j}",
slf4jJul: "org.slf4j:jul-to-slf4j:${spec.versions.slf4j}",
zookeeper: 'org.apache.zookeeper:zookeeper:3.4.6'
]
// information about the bintray distribution
spec.bintray = [
apiBaseUrl: 'https://bintray.com/api/v1',
username: 'yan',
pkgOrganization: 'pongasoft',
repositories: [
binaries: [
pkgRepository: 'binaries',
pkgName: spec.name
],
distributions: [
pkgRepository: spec.name,
pkgName: 'releases'
],
]
]