forked from RoboBinding/RoboBinding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (38 loc) · 1.01 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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.ajoberstar:gradle-git:0.10.0'
}
}
apply plugin: 'org.ajoberstar.grgit-release'
import org.ajoberstar.grgit.*
release {
grgit = Grgit.open(project.file('.'))
releaseTasks = ['framework:signArchives','framework:uploadArchives','codegen:signArchives','codegen:uploadArchives']
version.toString()
}
subprojects {
apply plugin: 'java'
group = 'org.robobinding'
//version = $version
sourceCompatibility = 1.6
targetCompatibility = 1.6
ext {
junitVersion = '4.11+'
mockitoVersion = '1.9.+'
commonsLangVersion = '3.+'
}
}
String getRepositoryUsername() {
return project.hasProperty('repositoryUserName')?project.property('repositoryUserName'):'noUserName';
}
String getRepositoryPassword() {
return project.hasProperty('repositoryPassword')?project.property('repositoryPassword'):'noPassword';
}
task wrapper(type: Wrapper) {
gradleVersion = '2.1'
description = 'Produces Gradle Wrapper for the project.'
group = 'other'
}