Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrades ktlint to version 0.45.0 #16

Merged
merged 1 commit into from
Mar 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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