forked from Fxe/biosynth-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
117 lines (94 loc) · 2.5 KB
/
build.gradle
File metadata and controls
117 lines (94 loc) · 2.5 KB
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
apply plugin: 'eclipse'
apply plugin: 'idea'
apply from: "./libraries.gradle"
/*
jar {
manifest {
attributes 'Implementation-Title': 'biosynth-framework',
'Implementation-Version': '0.9.0-SNAPSHOT'
}
}
*/
allprojects {
//apply plugin: 'java'
repositories {
mavenCentral()
mavenLocal()
//maven { url 'http://192.168.1.99/nexus/content/groups/public/' }
//maven { url 'http://193.137.11.210/nexus/content/groups/public/' }
maven { url 'https://nexus.bio.di.uminho.pt/content/groups/public/' }
maven { url 'http://www.ebi.ac.uk/~maven/m2repo' }
maven { url 'http://biojava.org/download/maven/' }
}
}
ext {
expectedGradleVersion = '5.5'
}
//task wrapper(type: Wrapper) {
// gradleVersion = '5.5' //we want gradle 2.10 to run this project
//}
configurations {
compile
}
allprojects {
tasks.withType(Javadoc) {
//options.addStringOption('Xdoclint:none', '-quiet')
}
}
subprojects { subProject ->
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'idea'
apply plugin: 'eclipse'
group = 'pt.uminho.sysbio.biosynthframework'
version = '0.9.1-SNAPSHOT'
targetCompatibility = 1.8
sourceCompatibility = 1.8
task copyRuntimeLibs(type: Copy) {
into "../jars"
from configurations.compile
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
}
artifacts {
//archives javadocJar
archives sourcesJar
}
defaultTasks 'build'
buildDir = "target"
//org.gradle.java.home = 'C:/Program Files/Java/jdk1.8.0_101'
dependencies {
compile libraries.guava
compile libraries.joda_time
compile libraries.commons_io, libraries.commons_codec, libraries.commons_lang3
compile libraries.json
compile libraries.json_api_core, libraries.json_api_databind, libraries.json_api_annotations
compile libraries.json_api_datatype_joda
compile libraries.json_api_dataformat_xml
compile libraries.apache_poi
compile libraries.apache_poi_ooxml
compile libraries.jbool
compile libraries.javaluator
compile 'org.jadira.usertype:usertype.core:3.0.0.CR1'
// logging
compile libraries.slf4j_api
compile libraries.logback
testCompile( libraries.junit )
}
test {
systemProperties 'property': 'value'
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}
}