- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 340 for Enforce (0.12 sec)
-
platforms/software/publish/src/main/java/org/gradle/api/publish/internal/metadata/EnforcedPlatformPublicationValidator.java
public class EnforcedPlatformPublicationValidator implements DependencyAttributesValidator { private final static String SUPPRESSION = "enforced-platform"; private final static String LONG_EXPLANATION = "In general publishing dependencies to enforced platforms is a mistake: " + "enforced platforms shouldn't be used for published components because they behave like forced dependencies and leak to consumers. " +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/fixtures/tests/dependencyInsight.out
- Variant compile provides com.google.code.gson:gson:2.8.5 - Variant enforced-platform-compile provides com.google.code.gson:gson-derived-enforced-platform:2.8.5 - Variant enforced-platform-runtime provides com.google.code.gson:gson-derived-enforced-platform:2.8.5 - Variant javadoc provides com.google.code.gson:gson:2.8.5
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 30 20:55:25 UTC 2024 - 1.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/plugins/jvm/internal/PlatformDependencyModifiersTest.groovy
then: dependency.isEndorsingStrictVersions() dependency.attributes.getAttribute(Category.CATEGORY_ATTRIBUTE).toString() == "platform" } def "copies given external dependency to select enforced platform"() { def modifier = TestUtil.objectFactory().newInstance(PlatformDependencyModifiers.EnforcedPlatformDependencyModifier) def dependency = new DefaultExternalModuleDependency("group", "name", "1.0")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/informer.go
// consistent with the type of the objects stored inside the SharedIndexInformer // as they will be casted. func NewInformer[T runtime.Object](informe cache.SharedIndexInformer) Informer[T] { return informer[T]{ SharedIndexInformer: informe, lister: NewLister[T](informe.GetIndexer()), }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 12 18:58:24 UTC 2024 - 1.2K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/plugins/jvm/PlatformDependencyModifiers.java
import org.gradle.api.attributes.Category; import org.gradle.api.model.ObjectFactory; import org.gradle.api.tasks.Nested; import javax.inject.Inject; /** * Dependency modifier APIs that can find platform and enforced platforms in other modules for {@code dependencies} blocks. * * @apiNote This interface is intended to be used to mix-in methods that modify dependencies into the DSL.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 22 04:12:21 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/publishing/javaLibrary/kotlin/build.gradle.kts
dependencies { implementation(enforcedPlatform("org.junit:junit-bom:5.7.1")) } // tag::disable_validation[] tasks.withType<GenerateModuleMetadata> { // The value 'enforced-platform' is provided in the validation // error message you got suppressedValidationErrors.add("enforced-platform") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/publishing/javaLibrary/groovy/build.gradle
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/JavaEcosystemVariantDerivationStrategy.java
return ImmutableCapabilities.of( new ShadowedImmutableCapability(new DefaultImmutableCapability( componentId.getGroup(), componentId.getModule(), componentId.getVersion() ), enforced ? "-derived-enforced-platform" : "-derived-platform") ); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 04:22:29 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/DefaultMavenModuleResolveMetadataTest.groovy
variantsForGraphTraversal[6].name == "enforced-platform-compile" variantsForGraphTraversal[6].attributes.getAttribute(stringUsageAttribute) == "java-api" variantsForGraphTraversal[6].attributes.getAttribute(componentTypeAttribute) == "enforced-platform" variantsForGraphTraversal[7].name == "enforced-platform-runtime"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:21:11 UTC 2024 - 8.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/resources/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleMetadataSerializerTest/ivy/with-dependencies.xml
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.3K bytes - Viewed (0)