Skip to content

Commit

Permalink
Update picoli dependency to 3.9.6 version. (#467)
Browse files Browse the repository at this point in the history
* Update picoli to latest stable 3.9.6 release.

Changelog: https://github.com/remkop/picocli/blob/master/RELEASE-NOTES.md#-picocli-396
Signed-off-by: Yahor Berdnikau <[email protected]>

* Replace shyiko with pinterest in command line messages.

Signed-off-by: Yahor Berdnikau <[email protected]>
  • Loading branch information
Tapchicoma authored and shashachu committed Jun 9, 2019
1 parent 8497c01 commit b099455
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ext.deps = [
// Used to silence aether-transport-http
'slf4j' : 'org.slf4j:slf4j-nop:1.6.2',
'aetherProvider': 'org.apache.maven:maven-aether-provider:3.2.5',
'picocli' : 'info.picocli:picocli:2.3.0',
'picocli' : 'info.picocli:picocli:3.9.6',
// Testing libraries
'junit' : 'junit:junit:4.12',
'assertj' : 'org.assertj:assertj-core:3.9.0',
Expand Down
8 changes: 4 additions & 4 deletions ktlint/src/main/kotlin/com/pinterest/ktlint/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import picocli.CommandLine.Parameters
@Command(
headerHeading =
"""An anti-bikeshedding Kotlin linter with built-in formatter
(https://github.com/shyiko/ktlint).
(https://github.com/pinterest/ktlint).
Usage:
ktlint <flags> [patterns]
Expand Down Expand Up @@ -565,7 +565,7 @@ object Main {
LintError(
e.line, e.col, "",
"Internal Error (${e.ruleId}). " +
"Please create a ticket at https://github.com/shyiko/ktlint/issue " +
"Please create a ticket at https://github.com/pinterest/ktlint/issue " +
"(if possible, provide the source code that triggered an error)"
)
}
Expand Down Expand Up @@ -695,7 +695,7 @@ object Main {
}
System.err.println("(updated)")
System.err.println("\nPlease restart your IDE")
System.err.println("(if you experience any issues please report them at https://github.com/shyiko/ktlint)")
System.err.println("(if you experience any issues please report them at https://github.com/pinterest/ktlint)")
}

private fun hex(input: ByteArray) = BigInteger(MessageDigest.getInstance("SHA-256").digest(input)).toString(16)
Expand Down Expand Up @@ -788,7 +788,7 @@ object Main {
if (result.any { it.toString().substringAfterLast("/").startsWith("ktlint-core-") }) {
System.err.println(
"\"$artifact\" appears to have a runtime/compile dependency on \"ktlint-core\".\n" +
"Please inform the author that \"com.github.shyiko:ktlint*\" should be marked " +
"Please inform the author that \"com.pinterest:ktlint*\" should be marked " +
"compileOnly (Gradle) / provided (Maven).\n" +
"(to suppress this warning use --skip-classpath-check)"
)
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<klob.version>0.2.1</klob.version>
<aether.version>1.1.0</aether.version>
<aether.maven.provider.version>3.3.9</aether.maven.provider.version>
<picocli.version>2.3.0</picocli.version>
<picocli.version>3.9.6</picocli.version>
<junit.version>4.12</junit.version>
<assertj.version>3.9.0</assertj.version>
<jimfs.version>1.1</jimfs.version>
Expand Down

0 comments on commit b099455

Please sign in to comment.