-
Notifications
You must be signed in to change notification settings - Fork 0
/
bintray.gradle
44 lines (38 loc) · 1.29 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
afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
groupId CHAT_SDK_GROUP
artifactId artifact
version CHAT_SDK_VERSION
}
}
}
}
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
def user = properties.getProperty('jFrogUser')
def pw = properties.getProperty('jFrogPassword')
artifactory {
contextUrl = 'https://chatsdk.jfrog.io/artifactory/release/'
publish {
repository {
// The Artifactory repository key to publish to
repoKey = 'chat-sdk-android'
// username = user
// password = pw
username = "publisher"
password = "Publ1sherChatSDK88!"
}
defaults {
// Tell the Artifactory Plugin which artifacts should be published to Artifactory.
publications('release')
publishArtifacts = true
// Properties to be attached to the published artifacts.
properties = ['qa.level': 'basic', 'dev.team': 'core']
// Publish generated POM files to Artifactory (true by default)
publishPom = true
}
}
}