Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 305 for realizes (0.25 sec)

  1. platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/plugins/VisualStudioPluginRules.java

            }
        }
    
        static class VisualStudioPluginRootRules extends RuleSource {
            // This ensures that subprojects are realized and register their project and project configuration IDE artifacts
            @Mutate
            public static void ensureSubprojectsAreRealized(TaskContainer tasks, ProjectIdentifier projectIdentifier, ServiceRegistry serviceRegistry) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/PublishArtifactLocalArtifactMetadata.java

            this.componentIdentifier = componentIdentifier;
            this.publishArtifact = publishArtifact;
            // In case the publish artifact is backed by an ArchiveTask, this causes the task to be realized.
            // However, if we are at this point, we need the realized task to determine the archive extension/type later
            // to set the 'artifactType' attribute required in matching (even if the variant with the artifact is not selected in the end).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesErrorHandlingIntegrationTest.groovy

                }
            """
            resolve.prepare()
        }
    
        def "produces sensible error when bad code is supplied in component metadata rule" () {
            def lines = buildFile.readLines().size()
            buildFile << """
                class WrongRule implements ComponentMetadataRule {
                    public void execute(ComponentMetadataContext context) {
                        foo()
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/ReadelfBinaryInfo.groovy

            def process = ['readelf', '-h', binaryFile.absolutePath].execute()
            List<String> lines = process.inputStream.readLines()
            return readArch(lines)
        }
    
        List<String> listObjectFiles() {
            def process = ['ar', '-t', binaryFile.getAbsolutePath()].execute()
            return process.inputStream.readLines()
        }
    
        List<String> listLinkedLibraries() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 15:17:55 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ProjectVariantResolutionIntegrationTest.groovy

    class ProjectVariantResolutionIntegrationTest extends AbstractIntegrationSpec implements VariantAwareDependencyResolutionTestFixture, TasksWithInputsAndOutputs {
        def "does not realize tasks that produce outgoing artifacts that are not required"() {
            createDirs("a", "b")
            settingsFile << """
                include 'a', 'b'
            """
            setupBuildWithColorVariants()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolutionResultApiIntegrationTest.groovy

        }
        def "resolution result does not realize artifact tasks"() {
            createDirs("producer")
            settingsFile << "include 'producer'"
            file("producer/build.gradle") << """
                plugins {
                    id("base")
                }
    
                def fooTask = tasks.register("foo", Zip) {
                    throw new RuntimeException("Realized artifact task")
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultRealizableTaskCollection.java

    public class DefaultRealizableTaskCollection<T extends Task> extends DelegatingNamedDomainObjectSet<T> implements TaskCollection<T>, TaskDependencyContainer {
    
        private final Class<T> type;
        private final AtomicBoolean realized = new AtomicBoolean();
        private final MutableModelNode modelNode;
        private final Instantiator instantiator;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:18:33 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIsolationIntegrationTest.groovy

                file("build/libs1/test-1.3.jar.txt").readLines() == ["1", "2", "3", "4", "5"]
                file("build/libs1/test2-2.3.jar.txt").readLines() == ["1", "2", "3", "4", "5"]
            } else {
                // Counter is isolated at execution time, so transforms will see the increment in each tasks' doLast { }
                file("build/libs2/test-1.3.jar.txt").readLines() == ["2", "3", "4", "5", "6"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Resources.java

       */
      @CanIgnoreReturnValue // some processors won't return a useful result
      @ParametricNullness
      public static <T extends @Nullable Object> T readLines(
          URL url, Charset charset, LineProcessor<T> callback) throws IOException {
        return asCharSource(url, charset).readLines(callback);
      }
    
      /**
       * Reads all of the lines from a URL. The lines do not include line-termination characters, but do
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/ComponentSelectionRulesErrorHandlingIntegTest.groovy

        @Requires(UnitTestPreconditions.IsGroovy3)
        def "produces sensible error when bad code is supplied in component selection rule with Groovy 3"() {
            def lines = buildFile.readLines().size()
            buildFile << """
                dependencies {
                    conf "org.utils:api:1.2"
                }
    
                configurations.all {
                    resolutionStrategy {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.2K bytes
    - Viewed (0)
Back to top