Skip to content

Commit 9392b5d

Browse files
committed
Add dependency-analysis
1 parent 35d36d7 commit 9392b5d

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ plugins {
44
id 'java-library'
55
id 'idea'
66
id 'jacoco'
7+
alias(libs.plugins.dependency.analysis)
78
alias(libs.plugins.javamodularity.moduleplugin) apply false
89
alias(libs.plugins.spotbugs)
910
alias(libs.plugins.ben.manes.versions)
@@ -39,7 +40,7 @@ ext {
3940

4041
allprojects {
4142
group = 'com.ak'
42-
version = '2024.07.26'
43+
version = '2024.08.06'
4344
apply plugin: 'idea'
4445
apply plugin: 'java-library'
4546
apply plugin: 'org.javamodularity.moduleplugin'

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
22
org.gradle.caching=true
3-
org.gradle.parallel=true
3+
org.gradle.parallel=true
4+
dependency.analysis.print.build.health=true

hello/src/main/java/com/ak/app/MainApp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ private MainApp() {
77
}
88

99
public static void main(String[] args) {
10-
Logger.getLogger(MainApp.class.getName()).info(() -> "Hello word 2024.07.26!");
10+
Logger.getLogger(MainApp.class.getName()).info(() -> "Hello word 2024.08.06!");
1111
}
1212
}

libs.versions.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ jacocolog = '3.1.0'
55
spotbugs = '6.0.19'
66
ben-manes-versions = '0.51.0'
77
nebula-lint = '19.0.3'
8+
dependency-analysis = '1.33.0'
89

910
jsr305 = '3.0.2'
10-
junit = '5.11.0-M2'
11+
junit = '5.11.0-RC1'
1112
assertj = '3.26.3'
1213

1314
[plugins]
@@ -17,6 +18,7 @@ jacocolog = { id = 'org.barfuin.gradle.jacocolog', version.ref = 'jacocolog' }
1718
spotbugs = { id = 'com.github.spotbugs', version.ref = 'spotbugs' }
1819
ben-manes-versions = { id = 'com.github.ben-manes.versions', version.ref = 'ben-manes-versions' }
1920
nebula-lint = { id = 'nebula.lint', version.ref = 'nebula-lint' }
21+
dependency-analysis = { id = 'com.autonomousapps.dependency-analysis', version.ref = 'dependency-analysis' }
2022

2123
[libraries]
2224
findbugs-jsr305 = { module = 'com.google.code.findbugs:jsr305', version.ref = 'jsr305' }

0 commit comments

Comments
 (0)