- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for ReplacedBy (0.25 sec)
-
subprojects/core-api/src/main/java/org/gradle/api/model/ReplacedBy.java
* * @since 5.4 */ @Documented @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD, ElementType.FIELD}) public @interface ReplacedBy { /** * The Java Bean-style name of the replacement property. * <p> * If the property has been replaced with a method named {@code getFooBar()}, then this should be {@code fooBar}. * </p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 15 16:13:53 UTC 2021 - 1.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/ComponentModuleMetadataContainerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/ConflictContainer.java
} elements.put(target, candidates); if (replacedBy != null) { targetToSource.put(replacedBy, target); if (elements.containsKey(replacedBy)) { //1) we've seen the replacement, register new conflict and return return registerConflict(target, replacedBy); } } Collection<K> replacementSource = targetToSource.get(target);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 02:21:08 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/ConflictContainerTest.groovy
expect: container.conflicts.size() == 1 container.popConflict().toString() == "a,b,c:3" } def "allows registering multiple elements with the same replacedBy before the replacedBy"() { container.newElement("a", [1], "c") container.newElement("b", [2], "c") container.newElement("c", [3], null) expect: container.conflicts.size() == 1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.1K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/artifacts/ComponentModuleMetadataDetails.java
* Subsequent invocations of this method replace the previous 'replacedBy' value. * * For information and examples please see {@link org.gradle.api.artifacts.dsl.ComponentMetadataHandler}. * * @param moduleNotation a String like 'com.google.guava:guava', an instance of {@link org.gradle.api.artifacts.ModuleVersionIdentifier}, null is not permitted */ void replacedBy(Object moduleNotation); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 22 14:14:42 UTC 2019 - 2.3K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/ComponentModuleMetadataHandler.java
* // in case both libraries appear in the same dependency tree. * module("com.google.collections:google-collections") { * replacedBy("com.google.guava:guava") * } * } * } * </pre> * * @since 2.2 */ public interface ComponentModuleMetadataHandler { /** * Enables configuring component module metadata.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 10 09:42:35 UTC 2018 - 2.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/ComponentModuleMetadataContainer.java
return new ComponentModuleMetadataDetails() { @Override public void replacedBy(Object moduleNotation) { replacedBy(moduleNotation, null); } @Override public void replacedBy(final Object targetModule, @Nullable String reason) { ModuleIdentifier target = parser.parseNotation(targetModule);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-replacementRule/groovy/build.gradle
plugins { id 'java' } repositories { mavenCentral() } // tag::module_replacement_declaration[] dependencies { modules { module("com.google.collections:google-collections") { replacedBy("com.google.guava:guava", "google-collections is now part of Guava") } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 347 bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/service/scopes/ExecutionGlobalServices.java
import org.gradle.api.internal.tasks.properties.annotations.OutputFilesPropertyAnnotationHandler; import org.gradle.api.internal.tasks.properties.annotations.UntrackedTaskTypeAnnotationHandler; import org.gradle.api.model.ReplacedBy; import org.gradle.api.provider.Property; import org.gradle.api.services.ServiceReference; import org.gradle.api.tasks.CacheableTask; import org.gradle.api.tasks.Classpath; import org.gradle.api.tasks.CompileClasspath;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 14.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentReplacementIntegrationTest.groovy
} buildFile << """ $content """ } void declaredReplacementWithReason(String rep, String reason) { def d = new TestDependency(rep) buildFile << """ dependencies.modules.module('${d.group}:${d.name}') { replacedBy '${d.pointsTo.group}:${d.pointsTo.name}', '$reason' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 14.3K bytes - Viewed (0)