-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
49 lines (39 loc) · 901 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
44
45
46
47
48
49
plugins {
id 'java'
id 'idea'
id 'maven'
id 'maven-publish'
}
group = 'com.dfbnc'
sourceCompatibility = 1.8
targetCompatibility = 1.8
sourceSets {
main.java.srcDirs = ['src']
test.java.srcDirs = ['test']
}
repositories {
mavenCentral()
maven {
url "https://maven.shanemcc.net/releases"
}
}
dependencies {
compile group: 'uk.org.dataforce.libs', name: 'logger', version: '0.4.1'
compile group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.70'
compile group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.70'
}
jar {
outputs.file "dist/dfbnc-sockets.jar"
manifest { }
doLast {
copy {
from jar.archivePath
into "dist/"
rename ".*", "dfbnc-sockets.jar"
}
}
}
apply from: 'gradle/publishing.gradle'
task wrapper(type: Wrapper) {
gradleVersion = '3.3'
}