-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
38 lines (29 loc) · 832 Bytes
/
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
plugins {
id 'java'
}
group 'org.arduino.serial'
version '1.0-SNAPSHOT'
jar {
manifest {
attributes 'Main-Class': 'com.serial.ArduinoSerial'
}
archiveName = 'arwriter.jar'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
compile group: 'com.fazecast', name: 'jSerialComm', version: '2.6.2'
compile group: 'org.vesalainen.comm', name: 'javaxcomm', version: '1.0.1'
compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.1'
}
test {
useJUnitPlatform()
}