forked from passy/build-time-tracker-plugin
/
build.gradle
99 lines (84 loc) · 2.02 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
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.5.1'
classpath 'net.rdrei.android.buildtimetracker:gradle-plugin:0.2.+'
}
}
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 {}
}
}
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.10.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'
}
}
}
}