forked from BraintagsGmbH/vertx-pojo-mapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
42 lines (36 loc) · 1.52 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
subprojects {
apply from: file(rootDir.path + '/gradle/vertx/vertxbase.gradle')
dependencies {
compile group: 'de.braintags', name:'vertx-util', version:btVertxVersion
compile group: 'de.braintags', name:'vertx-key-generator', version:btVertxVersion
if (isIncludedBuild) {
testCompile group: 'de.braintags', name:'vertx-util', version:btVertxVersion, configuration:'commonTests'
testCompile group: 'de.braintags', name:'vertx-key-generator', version:btVertxVersion, configuration:'commonTests'
} else {
testCompile group: 'de.braintags', name:'vertx-util', version:btVertxVersion, classifier:'tests'
testCompile group: 'de.braintags', name:'vertx-key-generator', version:btVertxVersion, classifier:'tests'
}
}
}
apply from: file(rootDir.path + '/gradle/sonar.gradle')
apply from: file(rootDir.path + '/gradle/maven.gradle')
apply from: file(rootDir.path + '/gradle/release.gradle')
sonarqube{
properties {
property 'sonar.projectKey' , 'de.braintags.vertx:vertx-pojo-mapper'
property 'sonar.projectName', 'Vert.x Pojo Mapper'
// List of the module identifiers
property 'sonar.modules', 'vertx-pojo-mapper-common,vertx-pojo-mapper-json, vertx-pojongo, vertx-pojo-mapper-mysql'
}
}
task test {
subprojects.each { subproject ->
dependsOn subproject.path+':test'
}
}
task generateDocumentation {
//added here to enable task if this is an included build
subprojects.each { subproject ->
dependsOn subproject.path+':generateDocumentation'
}
}