Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for setDistribution (0.3 sec)

  1. platforms/documentation/docs/src/snippets/buildCache/integration-tests/groovy/build.gradle

    // tag::distributionDirInput[]
    abstract class DistributionLocationProvider implements CommandLineArgumentProvider {  // <1>
        @InputDirectory
        @PathSensitive(PathSensitivity.RELATIVE)  // <2>
        abstract DirectoryProperty getDistribution()
    
        @Override
        Iterable<String> asArguments() {
            ["-Ddistribution.location=${distribution.get().asFile.absolutePath}"]  // <3>
        }
    }
    
    tasks.named('integTest') {
        jvmArgumentProviders.add(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/MavenPomLicense.java

        Property<String> getName();
    
        /**
         * The URL of this license.
         */
        Property<String> getUrl();
    
        /**
         * The distribution of this license.
         */
        Property<String> getDistribution();
    
        /**
         * The comments of this license.
         */
        Property<String> getComments();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ParallelForkingGradleExecuter.java

        }
    
        @Override
        protected List<String> getAllArgs() {
            List<String> args = new ArrayList<String>();
            args.addAll(super.getAllArgs());
            if (getDistribution().getVersion().compareTo(GradleVersion.version("2.3")) <= 0) {
                args.add("--parallel-threads=4");
            } else {
                args.add("--parallel");
                maybeSetMaxWorkers(args);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publication/DefaultMavenPomLicense.java

        public Property<String> getName() {
            return name;
        }
    
        @Override
        public Property<String> getUrl() {
            return url;
        }
    
        @Override
        public Property<String> getDistribution() {
            return distribution;
        }
    
        @Override
        public Property<String> getComments() {
            return comments;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/GradleDistributionTool.java

        }
    
        @Override
        public boolean matches(String criteria) {
            return GradleVersion.version(criteria).equals(distribution.getVersion());
        }
    
        public GradleDistribution getDistribution() {
            return distribution;
        }
    
        public String getIgnored() {
            return ignored;
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleBackedArtifactBuilder.java

            }
            executer.inDirectory(rootDir).withTasks("clean", "jar").run();
        }
    
        private boolean isGradleExecuterVersionLessThan(String version) {
            return executer.getDistribution().getVersion().compareTo(GradleVersion.version(version)) < 0;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiUnsupportedVersionIntegrationTest.groovy

        final ToolingApi toolingApi = new ToolingApi(distribution, temporaryFolder)
        final GradleDistribution otherVersion = new ReleasedVersionDistributions().getDistribution(GradleVersion.version("0.9.2"))
        final URI distroZip = otherVersion.binDistribution.toURI()
    
        def setup() {
            toolingApi.withConnector { connector -> connector.useDistribution(distroZip) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/compatibility/CrossVersionTestInterceptor.groovy

        }
    
        @Override
        protected Collection<Execution> createDistributionExecutionsFor(GradleDistributionTool versionedTool) {
            GradleDistribution distribution = versionedTool.getDistribution()
            return [new PreviousVersionExecution(distribution, isEnabled(distribution))]
        }
    
        protected boolean isEnabled(GradleDistribution previousVersion) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationTest.java

        }
    
        protected GradleContextualExecuter createExecuter() {
            return new GradleContextualExecuter(distribution, testDirectoryProvider, getBuildContext());
        }
    
        protected GradleDistribution getDistribution() {
            return distribution;
        }
    
        protected GradleExecuter getExecuter() {
            return executer;
        }
    
        protected TestNameTestDirectoryProvider getTestDirectoryProvider() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:04:13 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/compatibility/AbstractCompatibilityTestInterceptor.java

        protected Collection<Execution> createExecutionsFor(GradleDistributionTool versionedTool) {
            if (versionedTool.getIgnored() != null) {
                return Collections.singleton(new IgnoredVersion(versionedTool.getDistribution(), versionedTool.getIgnored()));
            } else {
                return createDistributionExecutionsFor(versionedTool);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top