-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.gradle
61 lines (54 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
def spockRetryVersion = '0.6.5'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
}
}
apply plugin: "com.jfrog.bintray"
apply plugin: "maven-publish"
apply plugin: "groovy"
apply plugin: "idea"
repositories() {
jcenter()
mavenCentral()
}
dependencies {
implementation "org.codehaus.groovy:groovy:2.4.21"
implementation "org.spockframework:spock-core:1.1-groovy-2.4"
implementation "org.slf4j:slf4j-api:1.6.0"
}
task sourceJar(type: Jar) {
from sourceSets.main.allGroovy
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
groupId "com.anotherchrisberry"
artifactId "spock-retry"
version spockRetryVersion
artifact sourceJar {
classifier "sources"
}
}
}
}
bintray {
user = System.getProperty('user')
key = System.getProperty('apiKey')
pkg {
repo = "spock-retry"
name = "spock-retry"
licenses = ["MIT"]
vcsUrl = "https://github.com/anotherchrisberry/spock-retry.git"
publications = ["mavenJava"]
version {
name = "${spockRetryVersion}"
released = new Date()
vcsTag = "${spockRetryVersion}"
}
}
}