forked from empeeoh/BACnet4J
-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
39 lines (31 loc) · 909 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
apply plugin: 'java'
sourceCompatibility = JavaVersion.VERSION_1_6
targetCompatibility = JavaVersion.VERSION_1_6
version = '3.2.2'
jar {
manifest {
attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version
}
}
repositories {
mavenCentral()
flatDir { dirs 'lib' }
}
dependencies {
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.4'
compile group: 'org.scream3r', name: 'jssc', version: '2.8.0'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.12'
testCompile group: 'junit', name: 'junit', version: '4.+'
testCompile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.12'
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}