This repository has been archived by the owner on Sep 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.gradle
85 lines (74 loc) · 2.17 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
plugins {
id "com.jfrog.bintray" version "1.8.5"
id "maven-publish"
id "java-library"
}
group 'com.aoe'
version = '0.3.0-RC1'
apply plugin: 'groovy'
repositories {
mavenCentral()
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:3.0.3'
compile 'org.gebish:geb-core:3.4'
compile group: 'com.google.code.gson', name: 'gson', version: '2.7'
}
def projectUrl = 'https://github.com/AOEpeople/geb-spock-reports'
java {
withSourcesJar()
withJavadocJar()
}
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
dryRun = false
publish = false
publications = ['maven']
pkg {
repo = 'libraries'
name = 'geb-spock-reports'
userOrg = 'aoepeople'
websiteUrl = projectUrl
githubRepo = projectUrl
githubReleaseNotesFile = "$projectUrl/blob/master/README.md"
issueTrackerUrl = "$projectUrl/issues"
vcsUrl = "$projectUrl/.git"
licenses = ['Apache-2.0']
labels = ['spock', 'geb', 'spock-reports', 'testing', 'reports']
version {
name = project.version
released = new Date()
vcsTag = "v${project.version}"
}
}
}
publishing {
publications {
maven(MavenPublication) {
from components.java
groupId = 'com.aoe'
artifactId = 'geb-spock-reports'
version = project.version
pom {
name = 'geb-spock-reports'
description = 'Integrates Geb screenshots into the spock-reports library '
url = 'https://github.com/AOEpeople/geb-spock-reports'
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'https://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id = 'tilmanginzel'
name = 'Tilman Ginzel'
email = '[email protected]'
}
}
}
}
}
}
bintrayUpload.dependsOn build