-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
70 lines (55 loc) · 1.91 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
apply plugin: 'java'
apply plugin: 'eclipse'
sourceCompatibility = 1.7
version = '1.0'
jar {
manifest {
attributes 'Implementation-Title': 'hibernate-cayenne-integration',
'Implementation-Version': version
}
}
def cayenneVersion='4.0.M2'
def springVersion='4.2.4.RELEASE'
repositories {
mavenCentral()
mavenLocal()
maven {url "http://objectstyle.org/maven2/"}
maven {url "http://mvn.riptano.com/content/repositories/public"}
maven {url "http://repo.maven.apache.org/maven2"}
maven {url "http://mirrors.ibiblio.org/maven2/"}
maven {url "https://oss.sonatype.org/content/repositories/releases"}
maven {url "https://oss.sonatype.org/content/repositories/snapshots"}
}
dependencies {
compile 'commons-logging:commons-logging:1.2'
compile "org.apache.cayenne:cayenne-lifecycle:${cayenneVersion}"
compile "org.apache.cayenne:cayenne-tools:${cayenneVersion}"
compile "org.apache.cayenne:cayenne-project:${cayenneVersion}"
compile "org.apache.cayenne:cayenne-server:${cayenneVersion}"
compile 'org.hibernate:hibernate-core:5.1.0.Final'
compile 'mysql:mysql-connector-java:5.1.34'
compile "org.springframework:spring-core:${springVersion}"
compile "org.springframework:spring-beans:${springVersion}"
compile "org.springframework:spring-jms:${springVersion}"
compile "org.springframework:spring-orm:${springVersion}"
compile "org.springframework:spring-context:${springVersion}"
compile "org.springframework:spring-web:${springVersion}"
compile 'org.springframework.batch:spring-batch-core:3.0.6.RELEASE'
}
task fatJar(type: Jar) {
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
eclipse {
classpath {
downloadSources = true
}
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}