Skip to content

Commit c4fddca

Browse files
authored
Update scalafix to 0.11.0, Scala to 2.13.11 and 2.12.18 (#101)
1 parent bbfe567 commit c4fddca

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ Add plugin into `plugins` node of `pom.xml`:
1111
<plugin>
1212
<groupId>io.github.evis</groupId>
1313
<artifactId>scalafix-maven-plugin_2.13</artifactId>
14-
<version>0.1.8_0.10.4</version>
14+
<version>0.1.8_0.11.0</version>
1515
</plugin>
1616
</plugins>
1717
```
1818

19-
Where `0.1.8` is version of the plugin itself, and `0.10.4` is version of Scalafix invoked by the plugin.
19+
Where `0.1.8` is version of the plugin itself, and `0.11.0` is version of Scalafix invoked by the plugin.
2020

2121
Then, you need to setup a file `.scalafix.conf` in the root directory of your Maven project (note the dot at the start of filename). You can find `.scalafix.conf` guide [here](https://scalacenter.github.io/scalafix/docs/users/configuration.html).
2222

@@ -58,7 +58,7 @@ By default, sources should be located inside `src/main/scala` directory. Though,
5858
<plugin>
5959
<groupId>io.github.evis</groupId>
6060
<artifactId>scalafix-maven-plugin_2.13</artifactId>
61-
<version>0.1.8_0.10.4</version>
61+
<version>0.1.8_0.11.0</version>
6262
<configuration>
6363
<sourceDirectory>src/main/my-sources-dir</sourceDirectory>
6464
</configuration>
@@ -96,7 +96,7 @@ Also, you can pass parameters via `pom.xml`:
9696
<plugin>
9797
<groupId>io.github.evis</groupId>
9898
<artifactId>scalafix-maven-plugin_2.13</artifactId>
99-
<version>0.1.8_0.10.4</version>
99+
<version>0.1.8_0.11.0</version>
100100
<configuration>
101101
<mode>CHECK</mode>
102102
<skipTest>true</skipTest>
@@ -111,7 +111,7 @@ If you want to use external rules, add jars containing rules to dependencies of
111111
<plugin>
112112
<groupId>io.github.evis</groupId>
113113
<artifactId>scalafix-maven-plugin_2.13</artifactId>
114-
<version>0.1.8_0.10.4</version>
114+
<version>0.1.8_0.11.0</version>
115115
<dependencies>
116116
<dependency>
117117
<groupId>com.nequissimus</groupId>
@@ -126,7 +126,7 @@ If you want to use external rules, add jars containing rules to dependencies of
126126

127127
CLI name | Maven configuration name | Maven type | Description
128128
--- | --- | --- | ---
129-
`scalafix.mode` | `mode` | `ScalafixMainMode`: either `IN_PLACE`, `CHECK`, `STDOUT` or `AUTO_SUPPRESS_LINTER_ERRORS` (default: `IN_PLACE`) | Describes mode in which Scalafix runs. Description of different parameter values can be found in [Scalafix javadoc](https://static.javadoc.io/ch.epfl.scala/scalafix-interfaces/0.10.4/scalafix/interfaces/ScalafixMainMode.html).
129+
`scalafix.mode` | `mode` | `ScalafixMainMode`: either `IN_PLACE`, `CHECK`, `STDOUT` or `AUTO_SUPPRESS_LINTER_ERRORS` (default: `IN_PLACE`) | Describes mode in which Scalafix runs. Description of different parameter values can be found in [Scalafix javadoc](https://static.javadoc.io/ch.epfl.scala/scalafix-interfaces/0.11.0/scalafix/interfaces/ScalafixMainMode.html).
130130
`scalafix.command.line.args` | `commandLineArgs` | `List[String]` (default: empty) | Custom CLI arguments to pass into Scalafix. Description of available arguments can be found in [Scalafix CLI documentation](https://scalacenter.github.io/scalafix/docs/users/installation.html#help).
131131
`scalafix.skip` | `skip` | `Boolean` (default: `false`) | Whether we should skip all formatting.
132132
`scalafix.skip.main` | `skipMain` | `Boolean` (default: `false`) | Whether we should skip formatting of application/library sources (by default located in `main/scala`).

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@
3535
<id>scala-2.12</id>
3636
<properties>
3737
<scala.major.version>2.12</scala.major.version>
38-
<scala.patch.version>17</scala.patch.version>
38+
<scala.patch.version>18</scala.patch.version>
3939
</properties>
4040
</profile>
4141
<profile>
4242
<id>scala-2.13</id>
4343
<properties>
4444
<scala.major.version>2.13</scala.major.version>
45-
<scala.patch.version>10</scala.patch.version>
45+
<scala.patch.version>11</scala.patch.version>
4646
</properties>
4747
</profile>
4848
</profiles>
@@ -53,9 +53,9 @@
5353
<maven-plugin-api.version>3.9.3</maven-plugin-api.version>
5454
<maven-plugin-annotations.version>3.9.0</maven-plugin-annotations.version>
5555
<maven-plugin-plugin.version>3.9.0</maven-plugin-plugin.version>
56-
<scalafix.version>0.10.4</scalafix.version>
56+
<scalafix.version>0.11.0</scalafix.version>
5757
<scala.major.version>2.13</scala.major.version>
58-
<scala.patch.version>8</scala.patch.version>
58+
<scala.patch.version>11</scala.patch.version>
5959
<scala.version>${scala.major.version}.${scala.patch.version}</scala.version>
6060
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
6161
<scala-maven-plugin.version>4.8.1</scala-maven-plugin.version>

0 commit comments

Comments
 (0)