forked from facebook/buck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.buckconfig
88 lines (84 loc) · 2.74 KB
/
.buckconfig
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[repositories]
buck = .
bazel_skylib = ./third-party/skylark/bazel-skylib
testlib = test/com/facebook/buck/testutil/integration/testlibs
[java]
; Indicates that any folder named src or test
; are folders that contain Java code.
src_roots = src, test
source_level = 8
target_level = 8
bootclasspath-8 = third-party/java/jdk/jdk8-rt-stub.jar
jar_spool_mode = direct_to_jar
abi_generation_mode = source_only
# There is some nondeterminism with the Immutables processor that causes verification to
# fail intermittently at the moment. Once we're generating source ABIs as part of compilation
# (instead of as a separate step), this can become an error again:
source_abi_verification_mode = fail
compile_against_abis = True
[kotlin]
# TODO: Put this in a shared location so Kotlin code under src/
# does not depend on files under test/. We should probably update the
# version of the Kotlin toolchain we use, as well.
kotlin_home = test/com/facebook/buck/jvm/kotlin/testdata/kotlinc/
[alias]
buck = //programs:buck
buck-android-support = //android/com/facebook/buck/android/support:buck-android-support
eden = //test/com/facebook/buck/eden/cli:cli_bin
hmaptool = //src/com/facebook/buck/apple/clang:hmaptool
ideabuck = //tools/ideabuck:ideabuck
maven-importer = //src/com/facebook/buck/maven:resolver
[log]
rule_key_logger_enabled = True
# [cache]
# ; Disable the default directory cache.
# mode =
[build]
metadata_storage = sqlite
enable_manifest_service = false
[download]
maven_repo = https://repo1.maven.org/maven2
[project]
; Directories that do not contain input files.
; All of these directories should also appear in the "ignore_dirs" list
; in .watchmanconfig, with the exception of ".git".
; Common temp file patterns: vim, emacs, intelliJ
ignore = \
.git, \
.buckd, \
ant-out, \
bin, \
intellij-out, \
**/*.swp, \
**/*#, \
**/*$, \
**/*~, \
**/*___jb_bak___, \
**/*___jb_old___, \
**/*___jb_tmp___, \
**/.*.swp, \
**/.*.swx, \
**/.*.swpx, \
**/.*.swo, \
**/*.pyc, \
**/.#*, \
**/*~, \
**/4913, \
**/*.linted, \
**/*.iml
; Forbid symlinks for source files so Buck does not have to dump its
; cache every time it encounters one.
allow_symlinks = forbid
watchman_cursor = clock_id
glob_handler = watchman
embedded_cell_buck_out_enabled = true
[test]
; Maximum timeout of 90 seconds per test.
timeout = 90000
[resources]
resource_aware_scheduling_enabled = true
[ui]
build_rule_minimum_duration_millis=500
[parser]
default_build_file_syntax=skylark
enable_configurable_attributes = true