-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
58 lines (46 loc) · 1.23 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
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'maven'
group = 'com.widen'
version = '1.1.0-SNAPSHOT'
sourceCompatibility = 1.5
targetCompatibility = 1.5
repositories {
mavenCentral()
}
uploadArchives {
repositories.mavenDeployer {
repository(url: 'https://widen.artifactoryonline.com/widen/libs-widen-public') {
authentication(userName: USER, password: PASSWORD)
}
}
}
dependencies {
compile 'commons-lang:commons-lang:2.5'
compile 'com.sun.mail:javax.mail:1.4.5'
compile 'org.apache.tapestry:tapestry-core:5.3.4'
}
sourceSets {
main {
java.srcDirs = files('src/main/java')
resources.srcDirs = files('src/main/java')
}
}
task sourcesJar(type: Jar) {
from sourceSets.main.allSource
classifier = 'sources'
}
artifacts {
archives sourcesJar
}
eclipse {
classpath.containers = [ 'org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.5' ]
}
tasks.eclipse.dependsOn = [ cleanEclipseClasspath, eclipseClasspath ]
tasks.idea.dependsOn = [ cleanIdeaModule, ideaModule ]
jar {
manifest {
attributes 'Tapestry-Module-Classes': 'com.widen.profiler.ProfilerModule'
}
}