Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

Commit

Permalink
Fixing encoding issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Dec 25, 2017
1 parent 2ca36d5 commit c6d55be
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ buildscript {
maven { url 'https://jitpack.io' }
}
dependencies {
classpath "se.bjurr.violations:violation-comments-to-gitlab-gradle-plugin:1.7"
classpath "se.bjurr.violations:violation-comments-to-gitlab-gradle-plugin:X"
}
}
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ apply from: project.buildscript.classLoader.getResource('gradle-plugin.gradle').


dependencies {
compile 'se.bjurr.violations:violation-comments-to-gitlab-lib:1.22'
compile 'se.bjurr.violations:violation-comments-to-gitlab-lib:1.23'
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,18 @@
import static org.gitlab.api.TokenType.ACCESS_TOKEN;
import static org.gitlab.api.TokenType.PRIVATE_TOKEN;
import static se.bjurr.violations.comments.gitlab.lib.ViolationCommentsToGitLabApi.violationCommentsToGitLabApi;
import static se.bjurr.violations.lib.ViolationsReporterApi.violationsReporterApi;
import static se.bjurr.violations.lib.ViolationsApi.violationsApi;
import static se.bjurr.violations.lib.model.SEVERITY.INFO;

import java.util.ArrayList;
import java.util.List;

import org.gitlab.api.AuthMethod;
import org.gitlab.api.TokenType;
import org.gradle.api.DefaultTask;
import org.gradle.api.tasks.TaskAction;
import org.gradle.api.tasks.TaskExecutionException;

import se.bjurr.violations.lib.model.SEVERITY;
import se.bjurr.violations.lib.model.Violation;
import se.bjurr.violations.lib.reports.Parser;
Expand Down Expand Up @@ -106,7 +108,7 @@ public void gitChangelogPluginTasks() throws TaskExecutionException {
final String reporter = configuredViolation.size() >= 4 ? configuredViolation.get(3) : null;

final List<Violation> parsedViolations =
violationsReporterApi() //
violationsApi() //
.findAll(Parser.valueOf(configuredViolation.get(0))) //
.inFolder(configuredViolation.get(1)) //
.withPattern(configuredViolation.get(2)) //
Expand Down

0 comments on commit c6d55be

Please sign in to comment.