forked from xenit-eu/dynamic-extensions-for-alfresco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
83 lines (70 loc) · 1.89 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
allprojects {
apply plugin: 'idea'
apply plugin: 'eclipse'
}
subprojects {
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'maven'
task sourceJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives sourceJar
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: 'file://' + (project.hasProperty('uploadPath') ? uploadPath : System.properties['java.io.tmpdir']))
}
}
}
[compileJava, compileTestJava,javadoc]*.options*.encoding = 'UTF-8'
compileJava {
sourceCompatibility = 1.6
targetCompatibility = 1.6
}
ext {
alfrescoVersion = '4.0.e'
springVersion = '3.0.5.RELEASE'
geminiVersion = '1.0.2.RELEASE'
slf4jVersion = '1.7.5'
osgiVersion = '4.3.1'
springSurfVersion = '1.2.0-M4'
junitVersion = '4.8.2'
transactionApiVersion = '1.1'
felixVersion = '4.2.1'
springOsgiUtilVersion = '2.0.5.RELEASE'
mockitoVersion = '1.9.5'
jibxVersion = '1.2.3'
hibernateVersion = '3.2.6.ga'
servletVersion = '2.5'
}
repositories {
mavenCentral()
maven {
url "https://artifacts.alfresco.com/nexus/content/groups/public/"
}
}
group = 'com.github.dynamicextensionsalfresco'
version = '1.0.0-SNAPSHOT'
configurations.all {
exclude group: 'jaxen'
resolutionStrategy {
eachDependency { details ->
if (details.requested.group == 'org.springframework') {
details.useVersion project.ext.springVersion
}
}
}
}
configurations {
amp
compile.extendsFrom(amp)
}
}
task wrapper(type: Wrapper) {
gradleVersion = '1.10'
}
defaultTasks 'build'