-
Notifications
You must be signed in to change notification settings - Fork 611
/
bintray.gradle
60 lines (52 loc) · 1.96 KB
/
bintray.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
//def localProperties = new Properties()
//localProperties.load(new FileInputStream(rootProject.file("local.properties")))
afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
groupId CHAT_SDK_GROUP
artifactId artifact
version CHAT_SDK_VERSION
// Include the generated POM file
pom {
name = 'Chat SDK'
description = 'Open Source Instant Messaging Framework'
url = 'https://github.com/chat-sdk/chat-sdk-android'
licenses {
license {
name = 'Dual licensing: GPL or Commercial / Apache 2.0'
url = 'https://github.com/chat-sdk/chat-sdk-android/blob/master/LICENSE.md'
}
}
developers {
developer {
id = '100bears'
name = 'Benjamin Smiley-Andrews'
email = '[email protected]'
}
}
scm {
connection = 'scm:git:[email protected]:chat-sdk/chat-sdk-android.git'
developerConnection = 'scm:git:ssh://github.com:chat-sdk/chat-sdk-android.git'
url = 'https://github.com/chat-sdk/chat-sdk-android'
}
}
}
}
repositories {
maven {
url "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials {
// username=mavenUser
// password=mavenPassword
username="100bears"
password=""
}
}
}
}
signing {
sign publishing.publications
}
}