Start using 0.0.3 snapshots of the compatibility test plugin
See gh-935
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -2,6 +2,7 @@ pluginManagement {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
maven { url 'https://repo.spring.io/snapshot' }
|
||||
}
|
||||
resolutionStrategy {
|
||||
eachPlugin {
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user