forked from researchgate/gradle-release
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (48 loc) · 1.48 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'nu.studer:gradle-plugindev-plugin:1.0.3'
classpath 'org.codehaus.groovy:groovy-backports-compat23:2.4.0'
classpath 'net.researchgate:gradle-release:2.0.1'
}
}
apply plugin: 'groovy'
apply plugin: 'idea'
apply plugin: 'nu.studer.plugindev'
apply plugin: 'net.researchgate.release'
group='net.researchgate'
dependencies {
testCompile("org.spockframework:spock-core:$spockVersion") { exclude group: 'org.codehaus.groovy' }
testCompile "junit:junit:$junitVersion"
testCompile "org.eclipse.jgit:org.eclipse.jgit:$jgitVersion"
}
plugindev {
pluginImplementationClass 'net.researchgate.release.ReleasePlugin'
pluginDescription 'gradle-release is a plugin for providing a Maven-like release process to project using Gradle.'
pluginLicenses 'MIT'
pluginTags 'gradle', 'plugin', 'release'
authorId 'danez'
authorName 'Daniel Tschinder'
authorEmail '[email protected]'
projectUrl 'https://github.com/researchgate/gradle-release'
projectInceptionYear '2011'
done() // do not omit this
}
bintray {
user = project.hasProperty('bintrayUser') ? bintrayUser : ''
key = project.hasProperty('bintrayApiKey') ? bintrayApiKey : ''
pkg {
repo = 'gradle-plugins'
userOrg = 'researchgate'
version {
gpg {
sign = true
passphrase = project.hasProperty('bintrayGpgPassphrase') ? bintrayGpgPassphrase : ''
}
}
}
publish = true
}
wrapper.gradleVersion = '1.12'