-
Notifications
You must be signed in to change notification settings - Fork 67
/
build.gradle
129 lines (109 loc) · 2.71 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
120
121
122
123
124
125
126
127
128
129
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.5.1'
classpath 'net.rdrei.android.buildtimetracker:gradle-plugin:0.11.0'
}
}
plugins {
id 'com.gradle.plugin-publish' version '0.10.0'
id 'java-gradle-plugin'
}
apply plugin: 'groovy'
apply plugin: 'maven'
apply plugin: 'nexus'
apply plugin: 'idea'
apply plugin: 'build-time-tracker'
buildtimetracker {
reporters {
csv {
output "times.csv"
append true
header false
}
summary {}
}
}
sourceCompatibility = 1.7
targetCompatibility = 1.7
dependencies {
repositories {
mavenCentral()
}
compile gradleApi()
compile localGroovy()
compile 'org.rauschig:jarchivelib:0.6.0'
compile 'commons-io:commons-io:2.4'
compile 'net.sf.opencsv:opencsv:2.3'
compile 'org.ocpsoft.prettytime:prettytime:3.2.5.Final'
compile 'joda-time:joda-time:2.4'
testCompile 'junit:junit:4.11'
}
group = 'net.rdrei.android.buildtimetracker'
version = '0.12.0-SNAPSHOT'
install {
repositories.mavenInstaller {
pom.artifactId = 'gradle-plugin'
}
}
compileGroovy {
groovyOptions.forkOptions.jvmArgs = ['-noverify']
}
test {
jvmArgs '-noverify'
}
uploadArchives {
repositories.mavenDeployer {
pom.artifactId = 'gradle-plugin'
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
}
}
modifyPom {
project {
name 'Gradle Build Time Tracker'
description 'Gradle plugin which tracks your build times.'
url 'https://github.com/passy/build-time-tracker-plugin'
inceptionYear '2014'
scm {
url 'https://github.com/passy/build-time-tracker-plugin'
connection 'scm:git:git://github.com/passy/build-time-tracker-plugin.git'
developerConnection 'scm:git:ssh://git@github.com/passy/build-time-tracker-plugin.git'
}
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
developers {
developer {
id 'passy'
name 'Pascal Hartig'
email 'phartig@rdrei.net'
}
}
}
}
gradlePlugin {
plugins {
buildTimeTrackerPlugin {
id = group
implementationClass = 'net.rdrei.android.buildtimetracker.BuildTimeTrackerPlugin'
}
}
}
pluginBundle {
website = 'https://github.com/passy/build-time-tracker-plugin'
vcsUrl = 'https://github.com/passy/build-time-tracker-plugin.git'
description = 'Gradle plugin to continuously track and report your build times.'
tags = ['gradle', 'performance', 'buildtimes', 'matrics']
plugins {
buildTimeTrackerPlugin {
displayName = 'Build Time Tracker'
}
}
}