forked from katty0324/webpay-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (38 loc) · 1003 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
apply plugin: "java"
apply plugin: "idea"
description = 'WebPay Java bindings'
group = 'jp.webpay'
version = '1.1.2'
task wrapper(type: Wrapper) {
gradleVersion = '1.7'
}
task javadocJar(type: Jar, dependsOn:javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
task sourcesJar(type: Jar, dependsOn:classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives jar
archives javadocJar
archives sourcesJar
}
repositories {
mavenCentral()
}
dependencies {
compile 'org.glassfish.jersey.core:jersey-client:2.2'
compile 'org.projectlombok:lombok:1.12.2'
compile 'net.arnx:jsonic:1.3.0'
testCompile 'junit:junit:4.11'
testCompile 'com.github.tomakehurst:wiremock:1.33'
testCompile 'commons-io:commons-io:2.4'
}
if (gradle.startParameter.taskNames.contains('uploadArchives')) {
apply from: 'build.publish.gradle'
}
if (System.getProperty("java.version").startsWith('1.8.0')) {
test.scanForTestClasses = false
}