-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpants.toml
39 lines (33 loc) · 1.33 KB
/
pants.toml
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
# Copyright 2022 Pants project contributors.
# Licensed under the Apache License, Version 2.0 (see LICENSE).
[GLOBAL]
pants_version = "2.23.0"
backend_packages = [
# This repository demonstrates using Pants with Kotlin.
#
# Linters/formatters are also hosted in independent backends, to allow them to be independently
# enabled.
"pants.backend.experimental.kotlin",
"pants.backend.experimental.kotlin.lint.ktlint",
# Also enable Java to demonstrate cross-language support.
"pants.backend.experimental.java",
]
[source]
# Pants supports many layouts of sources: from Maven/SBT style project-centric layouts, to
# monorepo layouts. In this case, we have a monorepo layout, with all sources under a `src`
# directory, organized by type.
#
# See https://www.pantsbuild.org/docs/source-roots for more information.
root_patterns = ["/src/*", "/test/*"]
# Configure the specific Kotlin version to use for a resolve. This version must match the version used for the
# `jvm_artifact` targets providing the Kotlin runtime library jars.
[kotlin.version_for_resolve]
jvm-default = "1.6.21"
[jvm]
# Configure remote debugging options that will be used with `test --debug`.
debug_args = [
"-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005",
]
[anonymous-telemetry]
enabled = true
repo_id = "2E2A8DE2-E6E5-4B39-BF33-B6FC915E40AC"