-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
70 lines (54 loc) · 1.89 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
buildscript {
ext.kotlin_version = '1.2.30'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
group 'com.github.sauterl'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'kotlin'
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url "http://sandec.bintray.com/repo"}
}
dependencies {
// Kotlin
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
// IPFS
compile 'com.github.ipfs:java-ipfs-api:v1.2.2'
// JSON De-/Serialization
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.3'
compile 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.9.3'
// CLI parser
compile group: 'com.github.rvesse', name: 'airline', version: '2.2.0'
// External Processes
compile group: 'org.apache.commons', name: 'commons-exec', version: '1.3' // weak
compile 'org.zeroturnaround:zt-exec:1.10' // Superb
// Logging
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.25'
// Security
compile group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.60'
compile group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.60'
// Markdown
compile "com.sandec:mdfx:0.1.1"
compile 'com.atlassian.commonmark:commonmark:0.12.1'
// Testing
testCompile group: 'junit', name: 'junit', version: '4.12'
}
jar {
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}{
exclude 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.DSA'
}
manifest{
attributes 'Main-Class': 'com.github.sauterl.iop2p.Main'
}
}