Start using 0.0.3 snapshots of the compatibility test plugin

See gh-935
This commit is contained in:
Andy Wilkinson
2024-07-18 07:46:36 +01:00
parent b55f604852
commit 9743b45d28
5 changed files with 6 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2022 the original author or authors.
* Copyright 2014-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -46,7 +46,7 @@ public class OptionalDependenciesPlugin implements Plugin<Project> {
public void apply(Project project) {
Configuration optional = project.getConfigurations().create(OPTIONAL_CONFIGURATION_NAME);
project.getConfigurations().all((configuration) -> {
if (configuration.getName().startsWith("testRuntimeClasspath_")) {
if (configuration.getName().startsWith("testRuntimeClasspath_") || configuration.getName().startsWith("testCompileClasspath_")) {
configuration.extendsFrom(optional);
}
});

View File

@@ -2,6 +2,7 @@ pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
maven { url 'https://repo.spring.io/snapshot' }
}
resolutionStrategy {
eachPlugin {

View File

@@ -1,5 +1,5 @@
plugins {
id "io.spring.compatibility-test" version "0.0.2"
id "io.spring.compatibility-test" version "0.0.3-SNAPSHOT"
id "java-library"
id "java-test-fixtures"
id "maven-publish"

View File

@@ -1,5 +1,5 @@
plugins {
id "io.spring.compatibility-test" version "0.0.2"
id "io.spring.compatibility-test" version "0.0.3-SNAPSHOT"
id "java-library"
id "maven-publish"
id "optional-dependencies"

View File

@@ -1,5 +1,5 @@
plugins {
id "io.spring.compatibility-test" version "0.0.2"
id "io.spring.compatibility-test" version "0.0.3-SNAPSHOT"
id "java-library"
id "maven-publish"
}