Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 398 for factory (0.42 sec)

  1. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/FileSystemServices.java

        private static final Logger LOGGER = LoggerFactory.getLogger(FileSystemServices.class);
    
        public void configure(ServiceRegistration registration) {
            registration.add(GenericFileSystem.Factory.class);
            registration.add(StatStatistics.Collector.class);
        }
    
        @Provides
        FileCanonicalizer createFileCanonicalizer() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/sessionBuilderTestUtils.kt

    internal fun createDumbVirtualFile(
        project: Project,
        fileName: String,
        text: String,
        fileSystem: VirtualFileSystem = MockVirtualFileSystem(),
    ): VirtualFile {
        val factory = KtPsiFactory(project, markGenerated = false)
        val ktFile = factory.createFile(fileName, text)
    
        return object : VirtualFile() {
            override fun getFileSystem(): VirtualFileSystem = fileSystem
    
            override fun getName(): String = fileName
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. build-logic/packaging/src/main/kotlin/gradlebuild.public-api-jar.gradle.kts

        outgoing.artifact(task)
        configureAsRuntimeElements(objects)
    }
    
    open class SoftwareComponentFactoryProvider @Inject constructor(val factory: SoftwareComponentFactory)
    val softwareComponentFactory = project.objects.newInstance(SoftwareComponentFactoryProvider::class.java).factory
    val gradleApiComponent = softwareComponentFactory.adhoc("gradleApi")
    components.add(gradleApiComponent)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:55 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/cache/internal/DefaultGeneratedGradleJarCacheIntegrationTest.groovy

                .build()
    
        def factory = services.get(CacheFactory.class)
        def currentGradleVersion = GradleVersion.current()
        def scopeMapping = new DefaultCacheScopeMapping(tmpDir.testDirectory, currentGradleVersion)
        def cacheRepository = new DefaultUnscopedCacheBuilderFactory(factory)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSupportedTypesIntegrationTest.groovy

                class SomeBean {
                    @Internal
                    final ${type} value
    
                    @Inject
                    SomeBean(ObjectFactory objects) {
                        value = ${factory}
                    }
                }
    
                class SomeTask extends DefaultTask {
                    @Internal
                    final SomeBean bean = project.objects.newInstance(SomeBean)
                    @Internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileCollection.java

    public abstract class AbstractFileCollection implements FileCollectionInternal {
        protected final TaskDependencyFactory taskDependencyFactory;
        protected final Factory<PatternSet> patternSetFactory;
    
        protected AbstractFileCollection(TaskDependencyFactory taskDependencyFactory, Factory<PatternSet> patternSetFactory) {
            this.taskDependencyFactory = taskDependencyFactory;
            this.patternSetFactory = patternSetFactory;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. testing/architecture-test/src/changes/archunit-store/stored.rules

    classes\ that\ are\ not\ Gradle\ public\ API\ should\ have\ accessors\ with\ symmetrical\ @Nullable\ annotations=internal-api-symmetrical-accessors-nullability.txt
    classes\ that\ are\ not\ assignable\ from\ org.gradle.internal.Factory\ and\ are\ injected\ into\ getters\ via\ @Inject\ or\ are\ injected\ into\ constructors\ via\ @Inject\ should\ be\ annotated\ with\ @ServiceScope=injected-services-should-have-service-scope-applied.txt
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/DependencyManagementBuildTreeScopeServices.java

        void configure(ServiceRegistration registration) {
            registration.add(ProjectArtifactResolver.class);
            registration.add(DefaultExternalResourceFileStore.Factory.class);
            registration.add(DefaultArtifactIdentifierFileStore.Factory.class);
            registration.add(TransformStepNodeFactory.class);
            registration.add(AttributeDesugaring.class);
            registration.add(ComponentIdGenerator.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/model/CalculatedValueCache.java

     */
    public interface CalculatedValueCache<K, V> {
    
        /**
         * @see Map#computeIfAbsent(Object, Function)
         */
        V computeIfAbsent(K key, Function<K, V> factory);
    
        /**
         * @see Map#clear()
         */
        void clear();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:21:17 UTC 2024
    - 1014 bytes
    - Viewed (0)
  10. platforms/ide/problems-api/src/main/java/org/gradle/internal/problems/DefaultProblemDiagnosticsFactory.java

            }
    
            @Nullable
            private Throwable getImplicitThrowable(Supplier<? extends Throwable> factory) {
                if (remainingStackTraces.getAndDecrement() > 0) {
                    return factory.get();
                } else {
                    return null;
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:13:26 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top