- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 114 for LibraryElements (0.11 sec)
-
platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/plugins/JvmEcosystemPluginTest.groovy
* limitations under the License. */ package org.gradle.api.plugins import org.gradle.api.attributes.Bundling import org.gradle.api.attributes.Category import org.gradle.api.attributes.LibraryElements import org.gradle.api.attributes.Usage import org.gradle.api.attributes.java.TargetJvmVersion import org.gradle.api.internal.artifacts.dsl.ComponentMetadataHandlerInternal import org.gradle.api.tasks.SourceSetContainer
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 2.1K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts
attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_API)) attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling.EXTERNAL)) attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.CLASSES)) } } notForAccessorGeneration { dependencies { sharedArchTestClasses(project(":internal-architecture-testing")) } } testing { suites {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 13:29:44 UTC 2024 - 3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced-published/kotlin/buildSrc/src/main/kotlin/com/acme/InstrumentedJarsPlugin.kt
import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.artifacts.Configuration import org.gradle.api.attributes.Bundling import org.gradle.api.attributes.Category import org.gradle.api.attributes.LibraryElements import org.gradle.api.attributes.Usage import org.gradle.api.attributes.java.TargetJvmVersion import org.gradle.api.component.AdhocComponentWithVariants import org.gradle.api.component.SoftwareComponentFactory
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 3.3K bytes - Viewed (0) -
platforms/jvm/java-platform/src/main/java/org/gradle/api/plugins/JavaPlatformPlugin.java
declareConfigurationUsage(objectFactory, configuration, usage); configuration.getAttributes().attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objectFactory.named(LibraryElements.class, libraryContents)); } private void declareConfigurationUsage(ObjectFactory objectFactory, Configuration configuration, String usage) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 11K bytes - Viewed (0) -
platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/JavaBasePlugin.java
Provider<LibraryElements> libraryElements = compileJava.flatMap(x -> x.getModularity().getInferModulePath()) .map(inferModulePath -> { if (javaClasspathPackaging) { return LibraryElements.JAR; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 19 22:14:22 UTC 2023 - 28.3K bytes - Viewed (0) -
platforms/jvm/java-platform/src/test/java/org/gradle/api/plugins/JavaPlatformPluginTest.groovy
def usage = classpath.attributes.getAttribute(Usage.USAGE_ATTRIBUTE) usage.name == Usage.JAVA_RUNTIME def format = classpath.attributes.getAttribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE) format.name == LibraryElements.JAR } def "adds Java library component"() { given: project.pluginManager.apply(JavaPlatformPlugin)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 7.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/metadata/DefaultMavenImmutableAttributesFactory.java
import org.gradle.api.attributes.Attribute; import org.gradle.api.attributes.Bundling; import org.gradle.api.attributes.Category; import org.gradle.api.attributes.DocsType; import org.gradle.api.attributes.LibraryElements; import org.gradle.api.attributes.Usage; import org.gradle.api.internal.attributes.AttributeContainerInternal; import org.gradle.api.internal.attributes.AttributeMergingException;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 7.1K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt
private fun Project.resolver(name: String, libraryElements: String, extends: Configuration? = null) = configurations.create(name) { attributes { attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_RUNTIME)) attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.LIBRARY)) attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(libraryElements)) } isCanBeResolved = true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 23:14:25 UTC 2024 - 12K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/metadata/MavenImmutableAttributesFactory.java
*/ package org.gradle.api.internal.artifacts.repositories.metadata; import org.gradle.api.attributes.Attribute; import org.gradle.api.attributes.Category; import org.gradle.api.attributes.LibraryElements; import org.gradle.api.attributes.Usage; import org.gradle.api.internal.attributes.ImmutableAttributes; import org.gradle.api.internal.attributes.ImmutableAttributesFactory; /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/jvm/java-platform/src/integTest/groovy/org/gradle/integtests/resolve/platforms/NativeAlignmentWithJavaPlatformResolveIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 8.9K bytes - Viewed (0)