-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
49 lines (40 loc) · 1.48 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
plugins {
id 'java'
id 'maven-publish'
id 'signing'
}
apply from: 'gradle/publish.gradle'
group 'ca.radiant3'
version '0.0.1-SNAPSHOT'
sourceCompatibility = 1.9
targetCompatibility = 1.9
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.slf4j', name: 'slf4j-api', version: '[1.5.6, 1.7.25]'
compileOnly group: 'org.simpleframework', name: 'simple-transport', version: '6.0.1'
compileOnly group: 'org.simpleframework', name: 'simple-http', version: '6.0.1'
compileOnly group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
compileOnly group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5'
testCompile group: 'org.simpleframework', name: 'simple-transport', version: '6.0.1'
testCompile group: 'org.simpleframework', name: 'simple-http', version: '6.0.1'
testCompile group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
testCompile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5'
testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3'
testCompile group: 'uk.co.datumedge', name: 'hamcrest-json', version: '0.2'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
task sourceJar(type: Jar) {
classifier "sources"
from sourceSets.main.allJava
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier "javadoc"
from javadoc.destinationDir
}
artifacts {
archives jar
archives sourceJar
archives javadocJar
}