forked from rottkit/teamscale-jacoco-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
54 lines (48 loc) · 1.63 KB
/
build.gradle
File metadata and controls
54 lines (48 loc) · 1.63 KB
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 {
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.4'
classpath 'de.sebastianboegl.gradle.plugins:shadow-log4j-transformer:2.2.0'
}
}
ext {
appVersion = '9.0.3'
pluginVersion = '0.1.24'
reportGeneratorVersion = '1.0.7'
teamscaleClientVersion = '0.1.5'
// When upgrading JaCoCo to a newer version make sure to check the comment in the AnalyzerCache.java.
jacocoVersion = '0.8.1'
log4jVersion = '2.8.2'
// Needed to deploy the artifacts to our public share
// Your public RSA key needs to be stored on the share to be able to deploy (Ask Timo)
cqseMavenRepositoryPrivateKey = System.getProperty("user.home") + '/.ssh/id_rsa'
println cqseMavenRepositoryPrivateKey
cqseMavenRepositoryUrl = 'scp://ext1.cqse.eu:2222/var/www/share/exchange/public/maven'
cqseMavenRepositoryUser = 'www-data'
}
subprojects {
repositories {
ivy {
url 'https://share.cqse.eu/svn/artifacts/ivy'
}
jcenter()
}
}
// Installs the plugin to your local maven repository
task installGradlePlugin(dependsOn: [
':impacted-tests-executor:install',
':report-generator:install',
':teamscale-gradle-plugin:install',
':teamscale-client:install'
])
// Deploys the plugin to the public share
task deployGradlePlugin(dependsOn: [
':impacted-tests-executor:uploadArchives',
':report-generator:uploadShadow',
':teamscale-gradle-plugin:uploadArchives',
':teamscale-client:uploadArchives'
])