File tree Expand file tree Collapse file tree 1 file changed +4
-27
lines changed Expand file tree Collapse file tree 1 file changed +4
-27
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,13 @@ sidebar_position: 4
5
5
6
6
` scala-cli ` can be configured in several ways:
7
7
- 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
10
9
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.
12
11
That way, you can quickly override parameters from the command-line.
13
12
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.
16
15
17
16
## Command-line
18
17
@@ -43,28 +42,6 @@ import ujson._
43
42
44
43
Both ` import $ivy ` and ` import $dep ` are accepted, and are equivalent.
45
44
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
-
68
45
## Using directives
69
46
70
47
Scala CLI can be configured from ` .scala ` files. You can specify ` using ` directives at the
You can’t perform that action at this time.
0 commit comments