Update Spotless plugin as ktlint is not resolving

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Java Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Gradle has started failing with:

      You probably need to add a repository containing the '[com.github.shyiko:ktlint:0.30.0]' artifact in the 'build.gradle' of your root project.
      E.g.: 'buildscript { repositories { mavenCentral() }}'
      org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':spotless1291513623'.
      

      Which is strange as it is on maven central: https://repo1.maven.org/maven2/com/github/shyiko/ktlint/0.3.0/

      Updating the spotless plugin and using the 1.0.0 version of ktlint will fix the issue.

            Assignee:
            Ross Lawley
            Reporter:
            Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: