-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
62 lines (48 loc) · 1.32 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
plugins {
id 'java'
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.7'
}
group 'cdio'
version '1.0-SNAPSHOT'
def opencvProperties = new Properties()
opencvProperties.load(new FileInputStream(rootProject.file("opencv.properties")))
repositories {
mavenCentral()
}
dependencies {
implementation project(":robot")
implementation("commons-collections:commons-collections:3.2")
implementation("com.github.bdeneuter:lejos-ev3-api:0.9.1-beta")
implementation("com.google.inject:guice:4.0")
implementation("com.google.code.gson:gson:2.8.5")
// OpenCV
implementation(fileTree(dir: opencvProperties["jarDir"], includes: ["*.jar"]))
// Tests
testImplementation("junit:junit:4.12")
}
compileJava {
sourceCompatibility = 11
targetCompatibility = 11
options.encoding = "UTF-8"
}
javafx {
version = "11.0.2"
modules = [ 'javafx.controls', 'javafx.fxml' ]
}
run {
mainClassName = "group14.Application"
systemProperty "java.library.path", opencvProperties["libDir"]
if (project.hasProperty("app.demo")) {
systemProperty "app.demo", project.property("app.demo")
}
}
subprojects {
apply plugin: 'java'
repositories {
mavenCentral()
}
dependencies {
implementation("com.github.bdeneuter:lejos-ev3-api:0.9.1-beta")
}
}