forked from ow2-proactive/proactive-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
executable file
·122 lines (113 loc) · 3.3 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
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
118
119
120
121
122
buildscript {
repositories {
jcenter()
}
}
repositories {
jcenter()
maven {
url "http://repository.activeeon.com/content/groups/proactive/"
}
}
group 'org.ow2.proactive'
version projectVersion
apply plugin: 'java'
apply plugin: 'maven'
uploadArchives {
repositories {
mavenDeployer {
snapshotRepository(url: "http://repository.activeeon.com/content/repositories/snapshots/") {
authentication(userName: "${System.getProperty('nexusUsername')}",
password: "${System.getProperty('nexusPassword')}")
}
repository(url: "http://repository.activeeon.com/content/repositories/releases/") {
authentication(userName: "${System.getProperty('nexusUsername')}",
password: "${System.getProperty('nexusPassword')}")
}
}
}
}
task zip (type: Zip){
archiveName="proactive-examples.zip"
destinationDir = file('build/')
from '.'
include 'AWS/**'
include 'AzureCognitiveServices/**'
include 'BigData/**'
include 'Calendars/**'
include 'Cassandra/**'
include 'Clearwater/**'
include 'CloudAutomationClient/**'
include 'CloudAutomationTemplate/**'
include 'CloudAutomationDockerTemplate/**'
include 'Cron/**'
include 'DatabaseServices/**'
include 'Databricks/**'
include 'DataConnectors/**'
include 'DataStreaming/**'
include 'DataVisualization/**'
include 'DeepLearning/**'
include 'DeepLearningWorkflows/**'
include 'Docker/**'
include 'DockerBasics/**'
include 'DockerSwarm/**'
include 'Elasticsearch/**'
include 'ELK/**'
include 'Email/**'
include 'FileFolderManagement/**'
include 'Finance/**'
include 'FluidDynamicsCFDParaviewFlexnetPBS/**'
include 'GetStarted/**'
include 'H2O/**'
include 'HDFS/**'
include 'HDFSOrchestration/**'
include 'ImageAnalysis/**'
include 'InMemoryWorkflows/**'
include 'JobAnalysis/**'
include 'JobExecTimeWorkflows/**'
include 'Kafka/**'
include 'Kibana/**'
include 'LogAnalysis/**'
include 'Logstash/**'
include 'MachineLearning/**'
include 'MachineLearningH2O/**'
include 'Machining/**'
include 'MLBasics/**'
include 'MongoDB/**'
include 'MySQL/**'
include 'PostgreSQL/**'
include 'MLNodeSource/**'
include 'NodeSources/**'
include 'OpenStack/**'
include 'RemoteVisualization/**'
include 'ReserveNodes/**'
include 'Scripts/**'
include 'DataConnectorScripts/**'
include 'PcaScripts/**'
include 'SelectionScripts/**'
include 'Spark/**'
include 'SparkOrchestration/**'
include 'HadoopOrchestration/**'
include 'Storm/**'
include 'Synchronization/**'
include 'TextAnalysis/**'
include 'PCWRules/**'
include 'TwitterApi/**'
include 'Visdom/**'
include 'WebNotification/**'
include 'Zookeeper/**'
include 'OpenShift/**'
include 'Demo/**'
include 'ordered_bucket_list'
}
test {
dependencies {
compile "org.ow2.proactive:scheduler-api:$version"
compile 'junit:junit:4.12'
compile 'com.googlecode.json-simple:json-simple:1.1'
testCompile 'org.hamcrest:java-hamcrest:2.0.0.0'
}
}
zip.dependsOn test
build.dependsOn zip
defaultTasks 'clean', 'test', 'zip'