-
Notifications
You must be signed in to change notification settings - Fork 0
/
pants.ini
55 lines (41 loc) · 1.49 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[DEFAULT]
pants_version: 0.0.64
local_artifact_cache: %(pants_bootstrapdir)s/artifact_cache
[cache.bootstrap]
# The just-in-time tool shading performed by jvm tool bootstrapping is very expensive, so we turn
# on artifact caching for it that can survive clean-all.
read_from: ['%(local_artifact_cache)s']
write_to: ['%(local_artifact_cache)s']
[compile.zinc]
worker_count: 4
[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
[jvm-platform]
default_platform: java8
platforms: {
'java8': {'source': '8', 'target': '8', 'args': []},
}
[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: [
'git@github.com:perkuno/forward.git',
'https://github.com/perkuno/forward.git'
]