This repository has been archived by the owner on Mar 2, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f994c72
commit 973bbc1
Showing
7 changed files
with
102 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
apply plugin: 'java' | ||
|
||
project.ext.tags = ['violation', 'static code analysis', 'Checkstyle', 'CPPLint', 'CPPCheck', 'CSSLint', 'Findbugs', 'Flake8', 'PyLint', 'Pep8', 'Mccabe', 'PyFlakes', 'JSHint', 'Lint', 'PerlCritic', 'PMD', 'ReSharper', 'XMLLint'] | ||
group = 'se.bjurr.violations' | ||
description = 'Gradle plugin that will comment GitLab pull requests with results from static code analysis' | ||
|
||
|
||
buildscript { | ||
repositories { | ||
maven { url "https://jitpack.io" } | ||
mavenCentral() | ||
mavenLocal() | ||
} | ||
dependencies { | ||
classpath 'com.github.tomasbjerre:gradle-scripts:master-SNAPSHOT' | ||
classpath 'se.bjurr.gradle:gradle-scripts:2.+' | ||
} | ||
} | ||
apply from: project.buildscript.classLoader.getResource('java.gradle').toURI() | ||
apply from: project.buildscript.classLoader.getResource('changelog.gradle').toURI() | ||
apply from: project.buildscript.classLoader.getResource('release.gradle').toURI() | ||
apply from: project.buildscript.classLoader.getResource('gradle-plugin.gradle').toURI() | ||
apply from: project.buildscript.classLoader.getResource('violations.gradle').toURI() | ||
project.ext.buildConfig = [ | ||
repoType: "GRADLE", | ||
gradlePlugin: [ | ||
tags: ['violation', 'static code analysis', 'Checkstyle', 'CPPLint', 'CPPCheck', 'CSSLint', 'Findbugs', 'Flake8', 'PyLint', 'Pep8', 'Mccabe', 'PyFlakes', 'JSHint', 'Lint', 'PerlCritic', 'PMD', 'ReSharper', 'XMLLint'] | ||
], | ||
violations: [ | ||
updateReadme: true | ||
] | ||
] | ||
apply from: project.buildscript.classLoader.getResource('main.gradle').toURI() | ||
|
||
|
||
dependencies { | ||
compile 'se.bjurr.violations:violation-comments-to-gitlab-lib:1.85' | ||
compile 'se.bjurr.violations:violations-lib:1.137' | ||
compile 'se.bjurr.violations:violation-comments-to-gitlab-lib:1.+' | ||
compile 'se.bjurr.violations:violations-lib:1.+' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
version = 1.41-SNAPSHOT | ||
group = se.bjurr.violations | ||
description = Gradle plugin that will comment GitLab pull requests with results from static code analysis |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-6.8.3-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-bin.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters