forked from nebula-plugins/gradle-info-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
119 lines (110 loc) · 4.04 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/*
* Copyright 2014-2015 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
buildscript { repositories { jcenter() } } // Some plugin dependencies (namely JFrog) are not in Maven Central
plugins {
id 'groovy'
id 'idea'
id 'jacoco'
id 'nebula.info' version '3.0.3'
id 'nebula.contacts' version '3.0.1'
id 'nebula.maven-publish' version '4.2.2'
id 'nebula.nebula-release' version '3.0.5'
id 'nebula.nebula-bintray' version '3.1.0'
id 'com.gradle.plugin-publish' version '0.9.1'
id 'nebula.javadoc-jar' version '4.2.2'
id 'nebula.source-jar' version '4.2.2'
id 'nebula.maven-apache-license' version '4.2.2'
id 'com.github.kt3k.coveralls' version '2.4.0'
}
description 'Gradle plugin collect and provide information about the environment'
apply from: 'https://raw.githubusercontent.com/nebula-plugins/nebula-core/f187498b01c752d139f33fd5b54871d04623c838/common.gradle'
contacts {
moniker 'Justin Ryan'
github 'quidryan'
}
}
dependencies {
// TODO, make these optional
// Specifically not using com.perforce:p4java since it has a META-INF/INDEX.LIST file that lists
// com.jcraft. In additional to wrongness of bundle thirdparty libraries, it doesn't even have
// those class files. The classloader will consider the INDEX.LIST file depending on ordering
// of the classpath, so it's very likely that just havine p4java in your path will prevent the
// JVM from even running.
compile 'com.perforce:p4java-jfrog:2011.1.297684'
compile 'com.netflix.nebula:gradle-contacts-plugin:2.2.+'
compile 'org.eclipse.jgit:org.eclipse.jgit:3.2.0.201312181205-r'
compile 'org.tmatesoft.svnkit:svnkit:1.8.5'
}
test.exclude '**/*Local*'
pluginBundle {
plugins {
info {
id = 'nebula.info'
displayName = 'Gradle Info plugin'
description = project.description
tags = ['nebula', 'info']
}
infoBasic {
id = 'nebula.info-basic'
displayName = 'Gradle Info Basic plugin'
description = project.description
tags = ['nebula', 'info']
}
infoBroker {
id = 'nebula.info-broker'
displayName = 'Gradle Info Broker plugin'
description = project.description
tags = ['nebula', 'info']
}
infoCI {
id = 'nebula.info-ci'
displayName = 'Gradle Info CI plugin'
description = project.description
tags = ['nebula', 'info']
}
infoJAR {
id = 'nebula.info-jar'
displayName = 'Gradle Info JAR plugin'
description = project.description
tags = ['nebula', 'info']
}
infoJava {
id = 'nebula.info-java'
displayName = 'Gradle Info Java plugin'
description = project.description
tags = ['nebula', 'info']
}
infoOwners {
id = 'nebula.info-owners'
displayName = 'Gradle Info Owners plugin'
description = project.description
tags = ['nebula', 'info']
}
infoProps {
id = 'nebula.info-props'
displayName = 'Gradle Info Properties plugin'
description = project.description
tags = ['nebula', 'info']
}
infoScm {
id = 'nebula.info-scm'
displayName = 'Gradle Info SCM plugin'
description = project.description
tags = ['nebula', 'info']
}
}
}