@@ -5,12 +5,12 @@ plugins {
55 java
66}
77
8- group = " org.example"
9- version = " 1.0-SNAPSHOT "
8+ group = " org.example.algorithm "
9+ version = " 1.0"
1010
1111java {
12- sourceCompatibility = JavaVersion .VERSION_17
13- targetCompatibility = JavaVersion .VERSION_17
12+ sourceCompatibility = JavaVersion .VERSION_21
13+ targetCompatibility = JavaVersion .VERSION_21
1414}
1515
1616configurations {
@@ -47,26 +47,26 @@ repositories {
4747}
4848
4949dependencies {
50- implementation(" com.google.guava:guava:31.1 -jre" )
50+ implementation(" com.google.guava:guava:33.0.0 -jre" )
5151 implementation(" org.javatuples:javatuples:1.2" )
52- implementation(" org.slf4j:slf4j-api:2.0.5" )
53- implementation(" org.apache.logging.log4j:log4j-api:2.19.0" )
54- implementation(" org.apache.logging.log4j:log4j-core:2.19.0" )
55- implementation(" org.apache.logging.log4j:log4j-slf4j2-impl:2.19.0" )
56- compileOnly(" org.projectlombok:lombok:1.18.24" )
57- annotationProcessor(" org.projectlombok:lombok:1.18.24" )
58- annotationProcessor(" org.openjdk.jmh:jmh-generator-annprocess:1.35" )
5952
60- testImplementation(" org.junit.jupiter:junit-jupiter-api:5.9.0" )
61- testImplementation(" org.junit.jupiter:junit-jupiter-engine:5.9.0" )
62- testImplementation(" org.junit.jupiter:junit-jupiter-params:5.9.0" )
53+ // test
54+ testImplementation(" org.junit.jupiter:junit-jupiter-api:5.10.2" )
55+ testImplementation(" org.junit.jupiter:junit-jupiter-engine:5.10.2" )
56+ testImplementation(" org.junit.jupiter:junit-jupiter-params:5.10.2" )
6357 testImplementation(" org.hamcrest:hamcrest-library:2.2" )
64- testImplementation(" org.mockito:mockito-junit-jupiter:4.10.0" )
65- testImplementation(" org.mockito:mockito-inline:4.10.0" )
58+ testImplementation(" org.mockito:mockito-junit-jupiter:5.10.0" )
59+
60+ // jmh
61+ annotationProcessor(" org.openjdk.jmh:jmh-generator-annprocess:1.35" )
6662 testImplementation(" org.openjdk.jmh:jmh-core:1.35" )
63+ testAnnotationProcessor(" org.openjdk.jmh:jmh-generator-annprocess:1.35" )
64+
65+ // lombok
66+ compileOnly(" org.projectlombok:lombok:1.18.24" )
67+ annotationProcessor(" org.projectlombok:lombok:1.18.24" )
6768 testCompileOnly(" org.projectlombok:lombok:1.18.24" )
6869 testAnnotationProcessor(" org.projectlombok:lombok:1.18.24" )
69- testAnnotationProcessor(" org.openjdk.jmh:jmh-generator-annprocess:1.35" )
7070}
7171
7272tasks.withType<JavaCompile > {
@@ -77,17 +77,17 @@ tasks.withType<Test> {
7777 useJUnitPlatform()
7878 testLogging {
7979 events(
80- TestLogEvent .FAILED ,
81- TestLogEvent .PASSED ,
82- TestLogEvent .SKIPPED
80+ TestLogEvent .FAILED ,
81+ TestLogEvent .PASSED ,
82+ TestLogEvent .SKIPPED
8383 )
8484 debug {
8585 events(
86- TestLogEvent .FAILED ,
87- TestLogEvent .PASSED ,
88- TestLogEvent .SKIPPED ,
89- TestLogEvent .STANDARD_OUT ,
90- TestLogEvent .STANDARD_ERROR
86+ TestLogEvent .FAILED ,
87+ TestLogEvent .PASSED ,
88+ TestLogEvent .SKIPPED ,
89+ TestLogEvent .STANDARD_OUT ,
90+ TestLogEvent .STANDARD_ERROR
9191 )
9292 showStackTraces = true
9393 exceptionFormat = TestExceptionFormat .FULL
0 commit comments