forked from mmalohlava/gradle-visteg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (48 loc) · 1.23 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
plugins {
id 'groovy'
id 'nu.studer.plugindev' version '1.0.3'
id 'maven'
}
dependencies {
compile gradleApi()
compile localGroovy()
}
repositories {
mavenCentral()
}
dependencies {
testCompile 'junit:junit:4.11'
}
/* Useful for local development */
uploadArchives {
repositories {
mavenDeployer {
repository( url: uri('/tmp/deploy-repo'))
}
}
}
/* Configure publishing into bintray via plugindev. */
plugindev {
pluginImplementationClass 'cz.malohlava.VisTaskExecGraphPlugin'
pluginDescription 'Gradle plugin exporting task execution graph into .dot file.'
pluginLicenses 'Apache-2.0'
pluginTags 'gradle', 'plugin', 'graphviz', 'visteg'
authorId 'mmalohlava'
authorName 'Michal Malohlava'
authorEmail 'michal.malohlava@gmail.com'
projectUrl 'https://github.com/mmalohlava/gradle-visteg'
projectInceptionYear '2014'
done() // do not omit this
}
/* Credentials are stored in ~./gradle/gradle.properties file. */
if (project.hasProperty('bintrayUser')) {
bintray {
user = "$bintrayUser"
key = "$bintrayApiKey"
pkg.repo = 'gradle-plugins'
}
}
// Gradle wrapper generator
task wrapper(type: Wrapper) {
gradleVersion = '2.3'
}