-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
90 lines (73 loc) · 1.97 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
plugins {
id 'java'
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.11-SNAPSHOT'
id 'org.asciidoctor.jvm.convert' version '3.1.0'
id 'org.asciidoctor.jvm.pdf' version '3.1.0'
}
mainClassName = 'tellosimulator.TelloSimulator'
group 'ch.fhnw'
version '0.1'
repositories {
mavenCentral()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
}
sourceSets {
main {
resources {
srcDirs = ["src/main/java", "src/main/resources"]
}
}
}
compileJava {
options.encoding = 'UTF-8'
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
javafx {
version = '17.0.2-ea+2'
modules = ['javafx.controls', 'javafx.fxml']
}
dependencies {
implementation "org.bytedeco:javacv-platform:1.5.6"
implementation 'org.apache.logging.log4j:log4j-api:2.17.1'
implementation 'org.apache.logging.log4j:log4j-core:2.17.1'
implementation 'org.apache.commons:commons-math3:3.6.1'
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testImplementation "org.testfx:testfx-junit5:4.0.16-alpha"
testImplementation 'org.hamcrest:hamcrest:2.2'
testImplementation 'org.mockito:mockito-core:4.2.0'
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}
asciidoctorj {
modules {
diagram.version '1.5.18'
}
}
asciidoctor {
sourceDir file('docs')
sources {
include 'documentation.adoc','syntax.adoc'
}
outputDir file('build/docs')
attributes 'source-highlighter': 'coderay',
'coderay-linenums-mode': 'table',
'sourcedir': "${projectDir}/src/main/java",
'targeted-env': 'Sample'
}
asciidoctorPdf {
sourceDir 'docs'
asciidoctorj {
attributes 'source-highlighter' : 'coderay',
'sourcedir': "${projectDir}/src/main/java",
'targeted-env': 'PDF Sample'
}
}