Skip to content

Commit

Permalink
build: Bump ZPA version to 3.3.0-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
felipebz committed Mar 20, 2023
1 parent 35a3312 commit 4b71079
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ repositories {

dependencies {
implementation("com.github.ajalt.clikt:clikt:3.5.0")
implementation("com.felipebz.zpa:zpa-core:3.2.0")
implementation("com.felipebz.zpa:zpa-checks:3.2.0")
implementation("com.felipebz.zpa:zpa-core:3.3.0-SNAPSHOT")
implementation("com.felipebz.zpa:zpa-checks:3.3.0-SNAPSHOT")
implementation("com.google.guava:guava:31.1-jre")
implementation("org.sonarsource.sonarqube:sonar-scanner-protocol:7.9")
implementation("org.sonarsource.sonarqube:sonar-ws:7.9")
Expand Down
4 changes: 3 additions & 1 deletion src/main/kotlin/br/com/felipezorzo/zpa/cli/InputFile.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ class InputFile(private val type: PlSqlFile.Type,
return it.bufferedReader(charset).use { r -> r.readText() }
}

override fun fileName(): String = file.name
override fun fileName(): String = file.name

override fun type(): PlSqlFile.Type = type

override fun path(): Path = file.toPath()

private val lineHashes: Array<String> by lazy {
contents().lineSequence().map {
DigestUtils.md5Hex(it.replace("\\s".toRegex(), ""))
Expand Down

0 comments on commit 4b71079

Please sign in to comment.