Skip to content

Commit

Permalink
upgrades ktlint to version 0.45.0 (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
musichin authored Mar 21, 2022
1 parent 1857268 commit 5c7b6c3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:

- name: Lint check
uses: musichin/ktlint-check@v1
with:
version: 0.45.0

- name: Build with Gradle
run: ./gradlew build
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.6.10"
jacoco
id("com.vanniktech.maven.publish") version "0.18.0"
id("com.vanniktech.maven.publish") version "0.19.0"
}

repositories {
mavenCentral()
}

dependencies {
implementation("com.pinterest.ktlint:ktlint-core:0.43.2")
implementation("com.pinterest.ktlint:ktlint-core:0.45.0")
testImplementation(kotlin("test"))
}

Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package de.musichin.ktlint.reporter.github
import com.pinterest.ktlint.core.ReporterProvider
import java.io.PrintStream

class GitHubReporterProvider : ReporterProvider {
class GitHubReporterProvider : ReporterProvider<GitHubReporter> {
override val id: String = "github"

override fun get(out: PrintStream, opt: Map<String, String>): GitHubReporter {
Expand Down

0 comments on commit 5c7b6c3

Please sign in to comment.