Skip to content

Commit 93f1560

Browse files
Copilottorosent
andcommitted
Fix versionless junit-platform-launcher in azuremanaged, endtoendtests, and samples-azure-functions
- azuremanaged: Pin junit-platform-launcher to explicit version 1.14.2 - endtoendtests: Add JUnit BOM to resolve launcher version via platform - samples-azure-functions: Add JUnit BOM to resolve launcher version via platform Co-authored-by: torosent <17064840+torosent@users.noreply.github.com>
1 parent e30d0eb commit 93f1560

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

azuremanaged/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ dependencies {
4646
testImplementation 'org.mockito:mockito-junit-jupiter:5.21.0'
4747
testImplementation "io.grpc:grpc-netty:${grpcVersion}"
4848
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.14.2'
49-
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
49+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.14.2'
5050
}
5151

5252
compileJava {

endtoendtests/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ dependencies {
1919
implementation project(':azurefunctions')
2020

2121
implementation 'com.microsoft.azure.functions:azure-functions-java-library:3.2.3'
22-
testImplementation 'org.junit.jupiter:junit-jupiter:5.14.2'
22+
testImplementation platform('org.junit:junit-bom:5.14.2')
23+
testImplementation 'org.junit.jupiter:junit-jupiter'
2324
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
2425
testImplementation 'io.rest-assured:rest-assured:5.5.7'
2526
testImplementation 'io.rest-assured:json-path:5.5.7'

samples-azure-functions/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ dependencies {
1919
implementation project(':azurefunctions')
2020

2121
implementation 'com.microsoft.azure.functions:azure-functions-java-library:3.2.3'
22-
testImplementation 'org.junit.jupiter:junit-jupiter:5.14.2'
22+
testImplementation platform('org.junit:junit-bom:5.14.2')
23+
testImplementation 'org.junit.jupiter:junit-jupiter'
2324
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
2425
testImplementation 'io.rest-assured:rest-assured:5.5.7'
2526
testImplementation 'io.rest-assured:json-path:5.5.7'

0 commit comments

Comments
 (0)