Skip to content

Commit

Permalink
gradle-plugin: make compatible with Kotlin runtime 1.5
Browse files Browse the repository at this point in the history
### What's done:
* Changed dependency in diktat-gradle-plugin/pom.xml from diktat-rule sto diktat-common
* Build diktat-common for languageVersion 1.6
  • Loading branch information
petertrr committed Jul 1, 2022
1 parent 72b43ad commit b9a5ab7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions diktat-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@
</execution>
</executions>
<configuration>
<apiVersion>1.6</apiVersion>
<languageVersion>1.6</languageVersion>
<compilerPlugins>
<plugin>kotlinx-serialization</plugin>
</compilerPlugins>
Expand Down
6 changes: 3 additions & 3 deletions diktat-gradle-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
<dependencies>
<dependency>
<groupId>org.cqfn.diktat</groupId>
<artifactId>diktat-rules</artifactId>
<artifactId>diktat-common</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<!-- Since we need diktat-rules only for property name, we can exclude everything else -->
<!-- Since we need diktat-common only for property name, we can exclude everything else -->
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
Expand Down Expand Up @@ -197,4 +197,4 @@
</properties>
</profile>
</profiles>
</project>
</project>

0 comments on commit b9a5ab7

Please sign in to comment.