-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
27 lines (22 loc) · 959 Bytes
/
Copy pathbuild.gradle
File metadata and controls
27 lines (22 loc) · 959 Bytes
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
group "com.aerospike"
// subproject configuration
subprojects {
// make sure sonar plugin is not applied to subprojects.
// the plugin works for subprojects when applied to the root project
project.ext.set("skipSonarPlugin", true)
// set defaults using the gradle project name.
project.ext.set('projectName', project.name.split(/[^\w]/).collect { it.toLowerCase().capitalize() }.join(" "))
project.ext.set('projectDescription', project.ext['projectName'])
project.ext.set('projectGitHome', 'https://github.com/aerospike/aerospike-play-plugins')
project.ext.set('projectWebHome', project.ext['projectGitHome'] + '/' + project.projectDir.name)
gradle.taskGraph.whenReady {taskGraph ->
if (taskGraph.hasTask(release)) {
version = '1.2'
} else {
version = '1.2-SNAPSHOT'
}
}
if (!project.name.contains('play')) {
apply from: "config/common.build.gradle"
}
}