Skip to content

Commit aee8811

Browse files
committed
Test Gradle plugin against Gradle 8.7
This commit includes some changes to test Gradle scripts to avoid Gradle 8.7's new deprecation warning about URI conversion. Closes gh-40093
1 parent 5c184f8 commit aee8811

19 files changed

+20
-20
lines changed

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/plugin/DependencyManagementPluginActionIntegrationTests.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if (project.hasProperty('applyDependencyManagementPlugin')) {
1717
}
1818

1919
repositories {
20-
maven { url 'file:repository' }
20+
maven { url 'repository' }
2121
}
2222

2323
task doesNotHaveDependencyManagement {

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/plugin/KotlinPluginActionIntegrationTests-kotlinVersionPropertyIsSet.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencyManagement {
1717

1818
repositories {
1919
mavenCentral()
20-
maven { url 'file:repository' }
20+
maven { url 'repository' }
2121
}
2222

2323
dependencies {

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/plugin/OnlyDependencyManagementIntegrationTests.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
apply plugin: 'io.spring.dependency-management'
77

88
repositories {
9-
maven { url 'file:repository' }
9+
maven { url 'repository' }
1010
}
1111

1212
dependencyManagement {

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/plugin/SpringBootAotPluginIntegrationTests-processTestAotDoesNotHaveDevelopmentOnlyDependenciesOnItsClasspath.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ apply plugin: 'org.springframework.boot.aot'
77

88
repositories {
99
mavenCentral()
10-
maven { url 'file:repository' }
10+
maven { url 'repository' }
1111
}
1212

1313
configurations.all {

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/plugin/SpringBootAotPluginIntegrationTests-processTestAotHasLibraryResourcesOnItsClasspath.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66

77
repositories {
88
mavenCentral()
9-
maven { url 'file:repository' }
9+
maven { url 'repository' }
1010
}
1111

1212
configurations.all {

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/plugin/SpringBootAotPluginIntegrationTests-processTestAotHasTransitiveRuntimeDependenciesOnItsClasspath.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66

77
repositories {
88
mavenCentral()
9-
maven { url 'file:repository' }
9+
maven { url 'repository' }
1010
}
1111

1212
configurations.all {

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/tasks/bundling/BootJarIntegrationTests-customLayers.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ bootJar {
2727

2828
repositories {
2929
mavenCentral()
30-
maven { url "file:repository" }
30+
maven { url 'repository' }
3131
}
3232

3333
dependencies {

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/tasks/bundling/BootJarIntegrationTests-explodedApplicationClasspath.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55

66
repositories {
77
mavenCentral()
8-
maven { url "file:repository" }
8+
maven { url 'repository' }
99
}
1010

1111
dependencies {

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/tasks/bundling/BootJarIntegrationTests-implicitLayers.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ bootJar {
99

1010
repositories {
1111
mavenCentral()
12-
maven { url "file:repository" }
12+
maven { url 'repository' }
1313
}
1414

1515
dependencies {

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/tasks/bundling/BootJarIntegrationTests-layersWithCustomSourceSet.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ bootJar {
1313

1414
repositories {
1515
mavenCentral()
16-
maven { url "file:repository" }
16+
maven { url 'repository' }
1717
}
1818

1919
dependencies {

0 commit comments

Comments
 (0)