-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.gradle
114 lines (97 loc) · 2.66 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
apply plugin: 'maven'
apply plugin: 'signing'
apply plugin: 'com.android.library'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.+'
}
}
signing {
sign configurations.archives
}
android {
buildToolsVersion "19.1.0"
compileSdkVersion 18
defaultConfig {
proguardFile 'proguard-player-hater.txt'
}
}
//task packageSources(type: Jar) {
// from android.sourceSets.main.allJava
// classifier = 'sources'
//}
//
//artifacts {
// archives packageSources
//}
uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots") {
authentication(userName: sonatypeUserName, password: sonatypePassword)
}
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: sonatypeUserName, password: sonatypePassword)
}
pom.project {
version '0.3.7-SNAPSHOT'
artifactId 'playerhater'
groupId 'org.prx'
name 'PlayerHater'
description 'Android library for playing back longform audio such as music or podcasts with player controls.'
url 'http://github.com/PRX/PlayerHater'
scm {
url 'https://github.com/PRX/PlayerHater/'
connection 'scm:git:git://github.com/PRX/PlayerHater.git'
developerConnection 'scm:git:[email protected]:PRX/PlayerHater.git'
tag 'HEAD'
}
developers {
developer {
name 'Chris Rhoden'
email '[email protected]'
id 'chrisrhoden'
url 'http://chrisrhoden.com'
timezone '-5'
roles {
role 'developer'
}
}
developer {
name 'Rebecca Nesson'
id 'rebeccanesson'
email '[email protected]'
timezone '-5'
roles {
role 'developer'
}
}
}
organization {
name 'PRX'
url 'http://prx.org'
}
issueManagement {
system 'GitHub Issues'
url 'https://github.com/PRX/PlayerHater/issues'
}
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
parent {
groupId 'org.sonatype.oss'
artifactId 'oss-parent'
version 7
}
}
}
}
}