Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 155 for getUsage (0.14 sec)

  1. platforms/native/language-native/src/main/java/org/gradle/language/cpp/internal/MainExecutableVariant.java

            return variants;
        }
    
        public void addVariant(SoftwareComponent variant) {
            variants.add(variant);
        }
    
        @Override
        public Set<? extends UsageContext> getUsages() {
            return ImmutableSet.of();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/publication/IvyComponentParser.java

            IvyConfiguration defaultConfiguration = configurations.maybeCreate("default");
            for (SoftwareComponentVariant variant : component.getUsages()) {
                String conf = mapVariantNameToIvyConfiguration(variant.getName());
                configurations.maybeCreate(conf);
                if (defaultShouldExtend(variant)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/testing/jacoco-quickstart/kotlin/src/test/java/org/gradle/PersonTest.java

    public class PersonTest{
    
        Person person;
        @Before public void setup(){
            person = new Person();
        }
    
        @Test public void testAge() {
            person.setAge(30);
            assertEquals(30, person.getAge());
        }
    
    
        @Test public void testSurname() {
            person.setSurname("Duke");
            assertEquals("Duke", person.getSurname());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 476 bytes
    - Viewed (0)
  4. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/internal/scripts/CompileScriptBuildOperationType.java

             * Groovy backed build scripts are processed in two stages.
             * Kotlin backed build scripts are processed in three stages
             * */
            String getStage();
        }
    
        public interface Result {
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 10 08:07:59 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. JavadocStyleGuide.md

     * @param name the location of the image, relative to the url argument
     * @return the image at the specified URL
     * @see Image
     */
    public Image getImage(URL url, String name) {
       try {
           return getImage(new URL(url, name));
       } catch (MalformedURLException e) {
           return null;
       }
    }
    ```
    
    Basic formatting rules:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 15:43:07 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-excludeForConfiguration/kotlin/src/main/java/Person.java

        private String name;
        private int age;
    
        public String getName() {
            return name;
        }
    
        public void setName(String name) {
            this.name = name;
        }
    
        public int getAge() {
            return age;
        }
    
        public void setAge(int age) {
            this.age = age;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 318 bytes
    - Viewed (0)
  7. platforms/jvm/war/src/main/java/org/gradle/api/internal/java/WebApplication.java

        }
    
        @Override
        public String getName() {
            return "web";
        }
    
        @Override
        public Set<UsageContext> getUsages() {
            return Collections.singleton(variant);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 17:46:36 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/dynamicversions/ModuleVersionsCache.java

        CachedModuleVersionList getCachedModuleResolution(ModuleComponentRepository<?> repository, ModuleIdentifier moduleId);
    
        interface CachedModuleVersionList {
            Set<String> getModuleVersions();
    
            Duration getAge();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/component/SoftwareComponentInternal.java

         * <p>
         * This method and {@link UsageContext} should both be deprecated in favor of a new public API.
         */
        Set<? extends UsageContext> getUsages();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 17:57:09 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/CachingModuleComponentRepositoryTest.groovy

                isMustCheck() >> mustRefreshMissingModule
            }
            moduleDescriptorCache.getCachedModuleDescriptor(_, module) >> Stub(ModuleMetadataCache.CachedMetadata) {
                isMissing() >> true
                getAge() >> Duration.ofMillis(100)
            }
    
            when:
            def cost = localAccess.estimateMetadataFetchingCost(module)
    
            then:
            cost == expected
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top