Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 491 for Here (0.03 sec)

  1. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/AbstractTestDescriptor.java

        }
    
        @Override
        public String getClassName() {
            return null;
        }
    
        /**
         * Returns the method name for this test, if any.
         * It should be in TestDescriptor, but moved here for backward compatibility
         *  TODO: move it to TestDescriptor interface with 9.0
         *
         * @return The method name. May return null.
         * @since 8.8
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr6_writing_tasks.adoc

    import org.gradle.api.tasks.TaskAction
    import java.io.File
    import java.io.InputStream
    import java.nio.charset.Charset
    
    class LicensePlugin: Plugin<Project> {
        // Don't change anything here
    }
    
    abstract class LicenseTask : DefaultTask() {
        @Input
        val fileName = project.rootDir.toString() + "/license.txt"
    
        @TaskAction
        fun action() {
            // Read the license text
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/SocksProxyResolveIntegrationTest.groovy

            when:
            def recordingServer = new TestRecordingSocksServer()
            proxyServer.start(recordingServer)
            proxyServer.configureProxy(executer)
            fails('listJars') // Don't have to succeed here, just record the attempt in the fake proxy and verify it
            then:
            result.assertTaskExecuted(":listJars")
            recordingServer.madeAnyConnection()
    
            when:
            proxyServer.stop()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/ReadOnlyModuleArtifactCache.java

        public void clear(ArtifactAtRepositoryKey key) {
            // clear is actually called from org.gradle.internal.resource.cached.AbstractCachedIndex.lookup which
            // is a read operation, in case of missing entry, so we can't fail here, but should be a no-op only
        }
    
        private static void operationShouldNotHaveBeenCalled() {
            throw new UnsupportedOperationException("A write operation shouldn't have been called in a read-only cache");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. platforms/software/resources/src/integTest/groovy/org/gradle/internal/resource/ExternalResourceNameIntegrationTest.groovy

    class ExternalResourceNameIntegrationTest extends AbstractIntegrationSpec {
    
        // Network shares on Linux and macOS are just normal file paths, so we don't have anything to test here
        @Requires(UnitTestPreconditions.Windows)
        def "can access repository on network share"() {
            //since we do not have a network share, we test the failure case and assert that the correct path was searched
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 08:36:39 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonExpiration.java

                    LOGGER.debug("Worker Daemon(s) expired to free some system memory {}", toExpire.size());
                }
                if (notExpirable > 0) {
                    LOGGER.debug("{} Worker Daemon(s) had expiration disabled and were skipped", notExpirable);
                }
                return toExpire;
            }
    
            private long getMemoryUsage(WorkerDaemonClient idleClient) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. testing/internal-architecture-testing/src/main/java/org/gradle/internal/architecture/PackageCycleTest.java

            SlicesRuleDefinition.slices().assignedFrom(GRADLE_SLICE_ASSIGNMENT)
                .should()
                .beFreeOfCycles()
                // Some projects exclude all classes, that is why we allow empty here
                .allowEmptyShould(true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/Member.java

    /**
     * Models a single element of a codebase that may be inspected and acted upon with
     * bytecode manipulation libraries tools like ASM.
     *
     * <p>The notion of "member" here is similar to, but broader than
     * {@link java.lang.reflect.Member}. The latter is essentially an abstraction over fields,
     * methods and constructors; this Member and its subtypes represent not only fields and
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. platforms/software/resources/src/main/java/org/gradle/internal/resource/metadata/ExternalResourceMetaData.java

         *
         * This should only be collected if it is very cheap to do so. For example, some HTTP servers send an
         * “X-Checksum-Sha1” that makes the sha1 available cheaply. In this case it makes sense to advertise this as metadata here.
         *
         * @return The sha1, or null if it's unknown.
         */
        @Nullable
        HashCode getSha1();
    
        boolean wasMissing();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. platforms/software/platform-base/src/main/java/org/gradle/language/base/internal/AbstractLanguageSourceSet.java

        }
    
        @Override
        public boolean getMayHaveSources() {
            // This doesn't take into account build dependencies of the SourceDirectorySet.
            // Should just ditch SourceDirectorySet from here since it's not really a great model, and drags in too much baggage.
            return generated || !source.isEmpty();
        }
    
        @Override
        public String getDisplayName() {
            String languageName = getLanguageName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top