-
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.
feat: new build script and dependencies
- Loading branch information
1 parent
019469d
commit bcd0177
Showing
8 changed files
with
42 additions
and
60 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,6 +1,4 @@ | ||
# violations-command-line changelog | ||
|
||
Changelog of violations-command-line. | ||
|
||
## 3.0.3 (2024-09-08) | ||
|
||
|
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,51 +1,16 @@ | ||
apply plugin: 'java-library' | ||
|
||
buildscript { | ||
repositories { | ||
mavenCentral() | ||
mavenLocal() | ||
} | ||
dependencies { | ||
classpath 'se.bjurr.gradle:gradle-scripts:2.+' | ||
} | ||
plugins { | ||
id "se.bjurr.gradle.conventional-release" version "0.+" | ||
id "se.bjurr.gradle.java-convention" version "0.+" | ||
id "se.bjurr.gradle.update-versions" version "0.+" | ||
} | ||
project.ext.buildConfig = [ | ||
repoType: "COMMAND", | ||
publishing: [ | ||
relocate: [ | ||
"org:org", | ||
"com:com" | ||
] | ||
], | ||
violations: [ | ||
updateReadme: true | ||
], | ||
manifest: [ | ||
mainClass: 'se.bjurr.violations.main.Main' | ||
], | ||
sourceCompatibility: 11, | ||
targetCompatibility: 11 | ||
] | ||
apply from: project.buildscript.classLoader.getResource('main.gradle').toURI() | ||
|
||
shadowJar { | ||
exclude 'META-INF/versions/21/**' | ||
} | ||
|
||
dependencies { | ||
api('se.bjurr.violations:violations-git-lib:2.2.0') { | ||
/** | ||
* Jackson contains class files with more recent java-version in ./META-INF/versions/19 | ||
* This causes problems for Shadow when creating fat jar. | ||
* | ||
* java.lang.IllegalArgumentException: Unsupported class file major version 61 | ||
* at shadow.org.objectweb.asm.ClassReader.<init>(ClassReader.java:184) | ||
*/ | ||
exclude group: "com.fasterxml.jackson.core", module: "jackson-core" | ||
exclude group: "com.fasterxml.jackson.core", module: "jackson-databind" | ||
exclude group: "com.fasterxml.jackson.datatype", module: "jackson-datatype-jsr310" | ||
} | ||
implementation 'com.fasterxml.jackson.core:jackson-core:2.14.+' | ||
implementation 'com.fasterxml.jackson.core:jackson-databind:2.14.+' | ||
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.+' | ||
api 'info.picocli:picocli:4.7.5' | ||
api 'org.slf4j:slf4j-simple:2.0.6' | ||
testImplementation 'junit:junit:4.13.2' | ||
api 'se.bjurr.violations:violations-git-lib:2.3.2' | ||
api 'info.picocli:picocli:4.7.6' | ||
api 'org.slf4j:slf4j-simple:2.0.16' | ||
testImplementation 'junit:junit:4.13.2' | ||
} |
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,4 +1,11 @@ | ||
#Sun Sep 08 08:15:35 CEST 2024 | ||
# | ||
#Sat Oct 05 21:30:02 CEST 2024 | ||
description="CLI find report files from static code analysis, present and optionally fail." | ||
version=3.0.3 | ||
group=se.bjurr.violations | ||
mainClass=se.bjurr.violations.main.Main | ||
maxViolations=6 | ||
relocate=org\:org,com\:com | ||
repoType=COMMAND | ||
sourceCompatibility=11 | ||
targetCompatibility=11 | ||
version=3.1.0 |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
pluginManagement { | ||
repositories { | ||
mavenLocal() | ||
mavenCentral() | ||
gradlePluginPortal() | ||
} | ||
} |
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
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