-
Notifications
You must be signed in to change notification settings - Fork 2
/
pants.ini
35 lines (28 loc) · 1.04 KB
/
pants.ini
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
[GLOBAL]
pants_version: 1.2.0dev8
[ivy]
# We need a custom ivy profile to grab the optional pgp libs for
# signing artifacts we publish to maven central.
ivy_profile: %(pants_supportdir)s/resolve/ivy.xml
[publish.jar]
# TODO(John Sirois): Kill this. Currently needs to be set due to:
# https://github.com/pantsbuild/pants/issues/2391
jvm_options: []
ivy_settings: %(pants_supportdir)s/publish/ivysettings.xml
push_postscript:
# Prevent Travis-CI from running for this automated jar publish commit:
# http://docs.travis-ci.com/user/how-to-skip-a-build/
[ci skip]
repos: {
'maven-central': {
# must match hostname in ~/.netrc and the <url> parameter in your custom ivysettings.xml.
'resolver': 'oss.sonatype.org',
'auth': 'build-support/publish:netrc', # Pants spec to a 'credentials()' object.
'help': 'Configure your ~/.netrc for oss.sonatype.org access.'
}
}
restrict_push_branches: ['master']
restrict_push_urls: [
'[email protected]:perkuno/forward.git',
'https://github.com/perkuno/forward.git'
]