-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
109 lines (87 loc) · 3.39 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
1/*
* minerva - Online task assignment for multiple robots
*
* Copyright (C) 2023 Paolo Forte
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
*
*/
apply plugin: 'java'
apply plugin: 'eclipse'
// The Maven publish plugin is only required if your package is used as a library.
apply plugin: 'maven-publish'
// The Application plugin and mainClassName attribute are only required if
// your package is used as a binary.
apply plugin: 'application'
// The main class that will be executed when you do 'gradle run'
mainClassName = 'se.oru.assignment.assignment_oru.test.TaskAssignmentWithoutMap'
repositories {
mavenLocal()
jcenter()
maven { url 'https://jitpack.io' }
maven { url 'https://github.com/rosjava/rosjava_mvn_repo/raw/master/' }
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
version = '0.2.0'
// Call your group something meaninful, e.g., '<inverse-url>.<project-name>'
group = 'se.oru.assignment'
dependencies {
// This pulls in the meta-csp-framework jar
//compile 'org.metacsp:meta-csp-framework:1.3.4'
//compile 'org.metacsp:meta-csp-framework:0.0.0-SNAPSHOT'
implementation 'com.github.FedericoPecora:meta-csp-framework:master-SNAPSHOT'
implementation 'com.github.FedericoPecora:coordination_oru:master-SNAPSHOT'
//For optimization problem
implementation 'com.google.ortools:ortools-java:9.6.2534'
//For interface with OMPL
implementation 'net.java.dev.jna:jna:4.4.0'
implementation 'org.jgrapht:jgrapht-core:1.3.1'
//For demo infrastructure
implementation 'org.reflections:reflections:0.9.11'
//For RVizVisualization
implementation 'org.ros.rosjava_bootstrap:message_generation:[0.3, 0.4)'
implementation 'org.ros.rosjava_core:rosjava:[0.3,0.4)'
implementation 'org.ros.rosjava_messages:visualization_msgs:[1.12,1.13)'
implementation 'org.ros.rosjava_messages:nav_msgs:[1.12,1.13)'
implementation 'org.ros.rosjava_messages:geometry_msgs:[1.12,1.13)'
implementation 'org.ros.rosjava_messages:std_msgs:[0.5.0,0.6.0)'
//For BrowserVisualization
implementation 'org.eclipse.jetty.websocket:websocket-api:9.4.12.v20180830'
implementation 'org.eclipse.jetty.websocket:websocket-server:9.4.12.v20180830'
implementation 'org.eclipse.jetty.websocket:websocket-client:9.4.12.v20180830'
//For JSON file handling
implementation 'com.google.code.gson:gson:2.8.5'
// Add the following if you need to include jars that are not
// in Maven Central and that you have places in the directory "lib"
// (NOTE: you have to create this directory if you need it)
//compile fileTree(dir: 'lib', include: '**/*.jar')
}
java {
withSourcesJar()
//withJavadocJar()
}
publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
}
run {
if (project.hasProperty("demo")) {
args(demo)
}
}