-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
70 lines (60 loc) · 1.31 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
plugins {
id 'java'
id 'eclipse'
id 'maven-publish'
id 'com.jfrog.bintray' version '1.7.2'
}
repositories {
jcenter()
}
dependencies {
testCompile 'junit:junit:4.12'
testCompile 'org.assertj:assertj-core:3.5.2'
testCompile 'info.cukes:cucumber-java:1.2.5'
testCompile 'org.mockito:mockito-core:2.2.11'
compile 'info.cukes:cucumber-core:1.2.5'
compile 'commons-io:commons-io:2.5'
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives sourcesJar
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact sourcesJar
}
}
}
compileJava {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
bintray {
publications = ['mavenJava']
dryRun = false
publish = true
pkg {
user = bintrayUser
key = bintrayKey
repo = 'maven'
name = 'parallel-cucumber-jvm'
desc = 'Parallel feature execution with Cucumber-JVM'
websiteUrl = 'https://github.com/djb61/parallel-cucumber-jvm'
issueTrackerUrl = 'https://github.com/djb61/parallel-cucumber-jvm/issues'
vcsUrl = 'https://github.com/djb61/parallel-cucumber-jvm.git'
licenses = ['MIT']
labels = ['cucumber']
publicDownloadNumbers = true
version {
name = project.version
}
}
}
task wrapper(type: Wrapper) {
gradleVersion = '3.1'
}