-
Notifications
You must be signed in to change notification settings - Fork 0
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
f0555b6
commit 3407465
Showing
6 changed files
with
110 additions
and
90 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,30 @@ | ||
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 = 'Provides utilities for matching violations to local Git repository.' | ||
project.ext.useShadowJar = true | ||
|
||
|
||
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() | ||
|
||
project.ext.buildConfig = [ | ||
publishing: [ | ||
relocate: [ | ||
"org", | ||
"com" | ||
] | ||
] | ||
] | ||
apply from: project.buildscript.classLoader.getResource('main.gradle').toURI() | ||
|
||
dependencies { | ||
compile 'se.bjurr.violations:violations-lib:1.143' | ||
compile 'se.bjurr.violations:violations-lib:1.+' | ||
compile 'org.eclipse.jgit:org.eclipse.jgit:4.9.2.201712150930-r' | ||
compile 'de.vandermeer:asciitable:0.3.2' | ||
|
||
testCompile 'junit:junit:4.12' | ||
testCompile 'org.assertj:assertj-core:2.3.0' | ||
testCompile 'org.slf4j:slf4j-simple:1.7.25' | ||
} | ||
|
||
shadowJar { | ||
relocate 'org', safeJavaIdentidier(project.group + '.' + project.name + '.org') | ||
relocate 'com', safeJavaIdentidier(project.group + '.' + project.name + '.com') | ||
relocate 'se', 'se' | ||
} |
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.46-SNAPSHOT | ||
group = 'se.bjurr.violations' | ||
description = 'Provides utilities for matching violations to local Git repository.' |
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