forked from Triple-T/gradle-play-publisher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
72 lines (61 loc) · 1.84 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.3'
}
}
apply plugin: 'groovy'
apply from: 'gradle-mvn-push.gradle'
group = GROUP
version = VERSION_NAME
sourceCompatibility = JavaVersion.VERSION_1_6
targetCompatibility = JavaVersion.VERSION_1_6
dependencies {
repositories {
mavenCentral()
}
compile gradleApi()
compile 'com.android.tools.build:gradle:1.5.0'
compile('com.google.apis:google-api-services-androidpublisher:v2-rev20-1.21.0') {
exclude group: 'com.google.guava', module: 'guava-jdk5'
}
compile 'commons-lang:commons-lang:2.6'
compile 'commons-io:commons-io:2.4'
testCompile 'org.mockito:mockito-all:1.10.19'
testCompile 'org.hamcrest:hamcrest-library:1.3'
}
afterEvaluate { project ->
uploadArchives {
repositories {
mavenDeployer {
pom.project {
developers {
developer {
id 'bhurling'
name 'Bjoern Hurling'
}
developer {
id 'ChristianBecker'
name 'Christian Becker'
}
developer {
id 'xalep'
name 'Xavier Lepaul'
}
developer {
id 'paour'
name 'Pierre Paour'
}
}
}
pom.whenConfigured { pom ->
pom.dependencies = pom.dependencies.findAll { dep ->
dep.scope != 'test'
}
}
}
}
}
}