Skip to content

Commit f11171f

Browse files
Remove scala.conf mentions from documentation
1 parent 14480bf commit f11171f

File tree

1 file changed

+4
-27
lines changed

1 file changed

+4
-27
lines changed

website/docs/configuration.md

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ sidebar_position: 4
55

66
`scala-cli` can be configured in several ways:
77
- on the command-line
8-
- in a configuration file
9-
- some options can also be specified directly in `.scala` and `.sc` files
8+
- directly in `.scala` and `.sc` files
109

11-
Parameters on the command-line take precedence over parameters in configuration files or sources.
10+
Parameters on the command-line take precedence over parameters in sources.
1211
That way, you can quickly override parameters from the command-line.
1312

14-
Note that the configuration format and options in `.scala` files are likely
15-
to evolve and be unified in the near future.
13+
Note that the configuration options and syntax in `.scala` files is likely
14+
to evolve in the future.
1615

1716
## Command-line
1817

@@ -43,28 +42,6 @@ import ujson._
4342

4443
Both `import $ivy` and `import $dep` are accepted, and are equivalent.
4544

46-
## Configuration files
47-
48-
Pass a file named `scala.conf`, or ending in `.scala.conf`, to specify options
49-
via a [HOCON](https://github.com/lightbend/config) configuration file:
50-
```hocon
51-
scala {
52-
version = "2.13"
53-
options = [
54-
"-Xlint:infer-any"
55-
]
56-
}
57-
jvm = "14"
58-
repositories = [
59-
"https://s01.oss.sonatype.org/content/repositories/snapshots"
60-
]
61-
dependencies = [
62-
"ai.kien::python-native-libs:0.0.0+13-f5d7089a-SNAPSHOT"
63-
]
64-
```
65-
66-
The reference documentation lists [all available options](reference/configuration-file.md).
67-
6845
## Using directives
6946

7047
Scala CLI can be configured from `.scala` files. You can specify `using` directives at the

0 commit comments

Comments
 (0)