-
Notifications
You must be signed in to change notification settings - Fork 146
/
Copy pathbuild.gradle
43 lines (36 loc) · 881 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
39
40
41
42
43
apply plugin: 'java'
apply from: 'deploy.gradle'
group "com.github.purejavacomm"
version "1.0.3.RELEASE"
repositories {
mavenCentral()
}
compileJava {
sourceCompatibility = 1.5
// Copy the rt.jar from the appropriate JDK distribution.
// Older versions can be obtained from this site:
// http://www.oracle.com/technetwork/java/javase/archive-139210.html
options.bootClasspath = "lib-rt/rt.jar"
}
sourceSets {
main {
java {
srcDirs = ['src']
exclude 'jtermios/testsuite**'
exclude 'purejavacomm/testsuite**'
}
}
test {
java {
srcDirs = ['src']
include 'jtermios/testsuite**'
include 'purejavacomm/testsuite**'
}
}
}
dependencies {
compile 'net.java.dev.jna:jna:4.2.2'
}
task wrapper(type: Wrapper) {
gradleVersion = '3.1'
}