-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (39 loc) · 1.03 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
group = 'one.chest'
version = '0.0.1'
apply plugin: 'groovy'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.10.0'
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.1'
}
}
apply from: 'coverage.gradle'
apply from: 'integTest.gradle'
apply from: 'license.gradle'
apply from: 'publication.gradle'
repositories {
jcenter()
}
dependencies {
compile 'com.mashape.unirest:unirest-java:1.4.9'
testCompileOnly 'com.intellij:annotations:12.0'
testCompile 'org.apache.tika:tika-core:1.16'
testCompile 'org.apache.tika:tika-parsers:1.5'
testCompile 'org.codehaus.groovy:groovy-all:2.4.7'
testCompile 'junit:junit:4.12'
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}