Skip to content

Commit

Permalink
Merge branch 'enhancement/kotlin-1.3.72'
Browse files Browse the repository at this point in the history
  • Loading branch information
thecoden committed Dec 7, 2020
2 parents 5510449 + 381a775 commit 7a657ba
Showing 1 changed file with 1 addition and 45 deletions.
46 changes: 1 addition & 45 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<kotlin.version>1.1.3-2</kotlin.version>
<kotlin.version>1.3.72</kotlin.version>
<testng.version>6.8.21</testng.version>
<assertj.version>1.7.1</assertj.version>
</properties>
Expand Down Expand Up @@ -117,47 +117,6 @@
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>ktlint</id>
<phase>verify</phase>
<configuration>
<target name="ktlint">
<java taskname="ktlint" dir="${basedir}" fork="true" failonerror="true"
classname="com.github.shyiko.ktlint.Main" classpathref="maven.plugin.classpath">
<arg value="src/**/*.kt"/>
</java>
</target>
</configuration>
<goals><goal>run</goal></goals>
</execution>
<execution>
<id>ktlint-format</id>
<configuration>
<target name="ktlint">
<java taskname="ktlint" dir="${basedir}" fork="true" failonerror="true"
classname="com.github.shyiko.ktlint.Main" classpathref="maven.plugin.classpath">
<arg value="-F"/>
<arg value="src/**/*.kt"/>
</java>
</target>
</configuration>
<goals><goal>run</goal></goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.github.shyiko</groupId>
<artifactId>ktlint</artifactId>
<version>0.8.3</version>
</dependency>
<!-- additional 3rd party ruleset(s) can be specified here -->
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
Expand All @@ -175,9 +134,6 @@
# test (&amp; check code style)
./mvnw clean verify

# fix code style
./mvnw antrun:run@ktlint-format

# publish a new version
./mvnw versions:set -DnewVersion=&lt;version&gt;
./mvnw -Ddeploy=maven-central
Expand Down

0 comments on commit 7a657ba

Please sign in to comment.