-
Notifications
You must be signed in to change notification settings - Fork 23
/
build.gradle
48 lines (38 loc) · 972 Bytes
/
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
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.7.1'
classpath 'com.github.townsfolk:gradle-release:1.2'
}
}
logging.captureStandardOutput LogLevel.INFO
allprojects {
repositories {
mavenCentral()
}
group = GROUP
apply plugin: 'maven'
}
apply plugin: 'release'
createReleaseTag.dependsOn ':loglifecycle-annotations:uploadArchives', ':loglifecycle-plugin:uploadArchives'
task wrapper(type: Wrapper) {
gradleVersion = '1.12'
}
task cleanExample(type: Exec) {
executable = '../gradlew'
workingDir = project.file('loglifecycle-example')
args = [ 'clean' ]
}
task assembleExample(type: Exec) {
executable = '../gradlew'
workingDir = project.file('loglifecycle-example')
args = [ 'assemble' ]
}
task installExample(type: Exec) {
executable = '../gradlew'
workingDir = project.file('loglifecycle-example')
args = [ 'installDebug' ]
}