-
Notifications
You must be signed in to change notification settings - Fork 0
/
publish-repo.gradle
32 lines (31 loc) · 1.04 KB
/
publish-repo.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
apply plugin: 'maven-publish'
publishing {
repositories {
if (System.getenv("AEVI_ARTIFACTORY_AWS_ACCESS_ID") != null) {
maven {
name 'release'
url "s3://sdk-releases.aevi.com/maven2"
credentials(AwsCredentials) {
accessKey System.getenv("AEVI_ARTIFACTORY_AWS_ACCESS_ID")
secretKey System.getenv("AEVI_ARTIFACTORY_AWS_SECRET")
}
}
maven {
name 'qa'
url "s3://sdk-qa.aevi.com/maven2"
credentials(AwsCredentials) {
accessKey System.getenv("AEVI_ARTIFACTORY_AWS_ACCESS_ID")
secretKey System.getenv("AEVI_ARTIFACTORY_AWS_SECRET")
}
}
}
maven {
name 'snapshot'
url "s3://sdk-snapshots.aevi.com/maven2"
credentials(AwsCredentials) {
accessKey "${aws_accessid}"
secretKey "${aws_accesskey}"
}
}
}
}