Skip to content

Commit dd9784e

Browse files
authored
Update all dependencies to latest versions (#260)
1 parent 3fe2f37 commit dd9784e

File tree

8 files changed

+57
-51
lines changed

8 files changed

+57
-51
lines changed

azurefunctions/build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ plugins {
22
id 'java-library'
33
id 'maven-publish'
44
id 'signing'
5-
id 'com.github.spotbugs' version '5.2.1'
5+
id 'com.github.spotbugs' version '6.4.8'
66
}
77

88
group 'com.microsoft'
99
version = '1.6.3'
1010
archivesBaseName = 'durabletask-azure-functions'
1111

12-
def protocVersion = '3.12.0'
12+
def protocVersion = '3.25.8'
1313

1414
repositories {
1515
maven {
@@ -19,9 +19,9 @@ repositories {
1919

2020
dependencies {
2121
api project(':client')
22-
implementation group: 'com.microsoft.azure.functions', name: 'azure-functions-java-library', version: '3.0.0'
22+
implementation group: 'com.microsoft.azure.functions', name: 'azure-functions-java-library', version: '3.2.3'
2323
implementation "com.google.protobuf:protobuf-java:${protocVersion}"
24-
compileOnly "com.microsoft.azure.functions:azure-functions-java-spi:1.0.0"
24+
compileOnly "com.microsoft.azure.functions:azure-functions-java-spi:1.1.0"
2525
}
2626

2727
sourceCompatibility = JavaVersion.VERSION_1_8
@@ -88,9 +88,9 @@ java {
8888
}
8989

9090
spotbugs {
91-
toolVersion = '4.9.2'
92-
effort = 'max'
93-
reportLevel = 'high'
91+
toolVersion = '4.9.8'
92+
effort = com.github.spotbugs.snom.Effort.valueOf('MAX')
93+
reportLevel = com.github.spotbugs.snom.Confidence.valueOf('HIGH')
9494
ignoreFailures = true
9595
excludeFilter = file('spotbugs-exclude.xml')
9696
}

azuremanaged/build.gradle

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@
88

99
plugins {
1010
id 'java'
11-
id 'com.google.protobuf' version '0.8.16'
11+
id 'com.google.protobuf' version '0.9.6'
1212
id 'idea'
1313
id 'maven-publish'
1414
id 'signing'
15-
id 'com.github.spotbugs' version '5.2.1'
15+
id 'com.github.spotbugs' version '6.4.8'
1616
}
1717

1818
archivesBaseName = 'durabletask-azuremanaged'
1919
group 'com.microsoft'
2020
version = '1.6.3'
2121

22-
def grpcVersion = '1.59.0'
23-
def azureCoreVersion = '1.45.0'
24-
def azureIdentityVersion = '1.11.1'
22+
def grpcVersion = '1.78.0'
23+
def azureCoreVersion = '1.57.1'
24+
def azureIdentityVersion = '1.18.1'
2525
// When build on local, you need to set this value to your local jdk11 directory.
2626
// Java11 is used to compile and run all the tests.
2727
def PATH_TO_TEST_JAVA_RUNTIME = System.env.JDK_11 ?: System.getProperty("java.home")
@@ -40,12 +40,13 @@ dependencies {
4040
implementation "com.azure:azure-identity:${azureIdentityVersion}"
4141

4242
// Test dependencies
43-
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.0'
44-
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.10.0'
45-
testImplementation 'org.mockito:mockito-core:5.3.1'
46-
testImplementation 'org.mockito:mockito-junit-jupiter:5.3.1'
43+
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.14.2'
44+
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.14.2'
45+
testImplementation 'org.mockito:mockito-core:5.21.0'
46+
testImplementation 'org.mockito:mockito-junit-jupiter:5.21.0'
4747
testImplementation "io.grpc:grpc-netty:${grpcVersion}"
48-
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.0'
48+
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.14.2'
49+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.14.2'
4950
}
5051

5152
compileJava {
@@ -123,9 +124,9 @@ java {
123124
}
124125

125126
spotbugs {
126-
toolVersion = '4.9.2'
127-
effort = 'max'
128-
reportLevel = 'high'
127+
toolVersion = '4.9.8'
128+
effort = com.github.spotbugs.snom.Effort.valueOf('MAX')
129+
reportLevel = com.github.spotbugs.snom.Confidence.valueOf('HIGH')
129130
ignoreFailures = true
130131
excludeFilter = file('spotbugs-exclude.xml')
131132
}

client/build.gradle

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
plugins {
22
id 'java-library'
3-
id 'com.google.protobuf' version '0.8.16'
3+
id 'com.google.protobuf' version '0.9.6'
44
// Generate IntelliJ IDEA's .idea & .iml project files
55
id 'idea'
66
id 'maven-publish'
77
id 'signing'
8-
id 'com.github.spotbugs' version '5.2.1'
9-
id 'org.gradle.test-retry' version '1.4.1'
8+
id 'com.github.spotbugs' version '6.4.8'
9+
id 'org.gradle.test-retry' version '1.6.4'
1010
}
1111

1212
group 'com.microsoft'
1313
version = '1.6.3'
1414
archivesBaseName = 'durabletask-client'
1515

16-
def grpcVersion = '1.59.0'
17-
def protocVersion = '3.12.0'
18-
def jacksonVersion = '2.15.3'
19-
def openTelemetryVersion = '1.25.0'
20-
def azureCoreVersion = '1.45.0'
21-
def azureIdentityVersion = '1.11.1'
16+
def grpcVersion = '1.78.0'
17+
def protocVersion = '3.25.8'
18+
def jacksonVersion = '2.18.3'
19+
def openTelemetryVersion = '1.58.0'
20+
def azureCoreVersion = '1.57.1'
21+
def azureIdentityVersion = '1.18.1'
2222
// When build on local, you need to set this value to your local jdk11 directory.
2323
// Java11 is used to compile and run all the tests.
2424
// Example for Windows: C:/Program Files/Java/openjdk-11.0.12_7/
@@ -41,8 +41,9 @@ dependencies {
4141
implementation "io.opentelemetry:opentelemetry-api:${openTelemetryVersion}"
4242
implementation "io.opentelemetry:opentelemetry-context:${openTelemetryVersion}"
4343

44-
testImplementation(platform('org.junit:junit-bom:5.7.2'))
44+
testImplementation(platform('org.junit:junit-bom:5.14.2'))
4545
testImplementation('org.junit.jupiter:junit-jupiter')
46+
testRuntimeOnly('org.junit.platform:junit-platform-launcher')
4647
testImplementation project(':azuremanaged')
4748
testImplementation "com.azure:azure-core:${azureCoreVersion}"
4849
testImplementation "com.azure:azure-identity:${azureIdentityVersion}"
@@ -204,9 +205,9 @@ java {
204205
}
205206

206207
spotbugs {
207-
toolVersion = '4.9.2'
208-
effort = 'max'
209-
reportLevel = 'high'
208+
toolVersion = '4.9.8'
209+
effort = com.github.spotbugs.snom.Effort.valueOf('MAX')
210+
reportLevel = com.github.spotbugs.snom.Confidence.valueOf('HIGH')
210211
ignoreFailures = true
211212
excludeFilter = file('spotbugs-exclude.xml')
212213
}

client/src/test/java/com/microsoft/durabletask/IntegrationTestBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class IntegrationTestBase {
2222
private ManagedChannel clientChannel;
2323

2424
@AfterEach
25-
private void shutdown() {
25+
void shutdown() {
2626
if (this.server != null) {
2727
this.server.stop();
2828
this.server = null;

endtoendtests/build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'java'
3-
id "com.microsoft.azure.azurefunctions" version "1.11.1"
3+
id "com.microsoft.azure.azurefunctions" version "1.16.1"
44
}
55

66
group 'com.durabletask.endtoend'
@@ -18,10 +18,12 @@ dependencies {
1818
implementation project(':client')
1919
implementation project(':azurefunctions')
2020

21-
implementation 'com.microsoft.azure.functions:azure-functions-java-library:3.1.0'
22-
testImplementation 'org.junit.jupiter:junit-jupiter:5.6.2'
23-
testImplementation 'io.rest-assured:rest-assured:5.3.0'
24-
testImplementation 'io.rest-assured:json-path:5.3.0'
21+
implementation 'com.microsoft.azure.functions:azure-functions-java-library:3.2.3'
22+
testImplementation platform('org.junit:junit-bom:5.14.2')
23+
testImplementation 'org.junit.jupiter:junit-jupiter'
24+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
25+
testImplementation 'io.rest-assured:rest-assured:5.5.7'
26+
testImplementation 'io.rest-assured:json-path:5.5.7'
2527

2628
}
2729

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.4-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

samples-azure-functions/build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'java'
3-
id "com.microsoft.azure.azurefunctions" version "1.11.1"
3+
id "com.microsoft.azure.azurefunctions" version "1.16.1"
44
}
55

66
group 'com.functions'
@@ -18,10 +18,12 @@ dependencies {
1818
implementation project(':client')
1919
implementation project(':azurefunctions')
2020

21-
implementation 'com.microsoft.azure.functions:azure-functions-java-library:3.0.0'
22-
testImplementation 'org.junit.jupiter:junit-jupiter:5.6.2'
23-
testImplementation 'io.rest-assured:rest-assured:5.3.0'
24-
testImplementation 'io.rest-assured:json-path:5.3.0'
21+
implementation 'com.microsoft.azure.functions:azure-functions-java-library:3.2.3'
22+
testImplementation platform('org.junit:junit-bom:5.14.2')
23+
testImplementation 'org.junit.jupiter:junit-jupiter'
24+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
25+
testImplementation 'io.rest-assured:rest-assured:5.5.7'
26+
testImplementation 'io.rest-assured:json-path:5.5.7'
2527

2628
}
2729

samples/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
plugins {
2-
id 'org.springframework.boot' version '2.5.2'
2+
id 'org.springframework.boot' version '2.7.18'
33
id 'java'
44
}
55

66
group 'io.durabletask'
77
version = '0.1.0'
8-
def grpcVersion = '1.59.0'
8+
def grpcVersion = '1.78.0'
99
archivesBaseName = 'durabletask-samples'
1010

1111
bootJar {
@@ -22,16 +22,16 @@ dependencies {
2222
implementation project(':azuremanaged')
2323

2424
implementation 'org.springframework.boot:spring-boot-starter-web'
25-
implementation platform("org.springframework.boot:spring-boot-dependencies:2.5.2")
25+
implementation platform("org.springframework.boot:spring-boot-dependencies:2.7.18")
2626
implementation 'org.springframework.boot:spring-boot-starter'
2727

2828
// https://github.com/grpc/grpc-java#download
2929
implementation "io.grpc:grpc-protobuf:${grpcVersion}"
3030
implementation "io.grpc:grpc-stub:${grpcVersion}"
3131
runtimeOnly "io.grpc:grpc-netty-shaded:${grpcVersion}"
32-
implementation 'com.azure:azure-identity:1.15.0'
32+
implementation 'com.azure:azure-identity:1.18.1'
3333

3434
// install lombok
35-
annotationProcessor 'org.projectlombok:lombok:1.18.22'
36-
compileOnly 'org.projectlombok:lombok:1.18.22'
35+
annotationProcessor 'org.projectlombok:lombok:1.18.42'
36+
compileOnly 'org.projectlombok:lombok:1.18.42'
3737
}

0 commit comments

Comments
 (0)