Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 388 for factory (0.17 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultUnlockedConfiguration.java

    import org.gradle.api.internal.file.FileCollectionFactory;
    import org.gradle.api.internal.project.ProjectStateRegistry;
    import org.gradle.api.internal.tasks.TaskDependencyFactory;
    import org.gradle.internal.Factory;
    import org.gradle.internal.code.UserCodeApplicationContext;
    import org.gradle.internal.event.ListenerBroadcast;
    import org.gradle.internal.model.CalculatedValueContainerFactory;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/NoDaemonGradleExecuter.java

            return createForkingGradleHandle(getResultAssertion(), getDefaultCharacterEncoding(), getExecHandleFactory()).start();
        }
    
        protected Factory<? extends AbstractExecHandleBuilder> getExecHandleFactory() {
            return new Factory<DefaultExecHandleBuilder>() {
                @Override
                public DefaultExecHandleBuilder create() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 05:38:50 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ClassLoaderUtils.java

            }
        }
    
        @Nullable
        public static <T> T executeInClassloader(ClassLoader classLoader, Factory<T> factory) {
            ClassLoader originalClassLoader = Thread.currentThread().getContextClassLoader();
            try {
                Thread.currentThread().setContextClassLoader(classLoader);
                return factory.create();
            } finally {
                Thread.currentThread().setContextClassLoader(originalClassLoader);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheHost.kt

            DefaultConfigurationCacheBuild(gradle.owner, service(), service(), settingsFile)
    
        override fun <T> service(serviceType: Class<T>): T =
            gradle.services.get(serviceType)
    
        override fun <T> factory(serviceType: Class<T>): Factory<T> =
            gradle.services.getFactory(serviceType)
    
        private
        class DefaultVintageGradleBuild(override val state: BuildState) : VintageGradleBuild {
            override val isRootBuild: Boolean
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/DefaultCopySpecCodec.kt

    import org.gradle.internal.serialize.graph.readList
    import org.gradle.internal.serialize.graph.writeCollection
    import org.gradle.internal.Factory
    import org.gradle.internal.serialize.graph.writeEnum
    import org.gradle.internal.reflect.Instantiator
    
    
    class DefaultCopySpecCodec(
        private val patternSetFactory: Factory<PatternSet>,
        private val fileCollectionFactory: FileCollectionFactory,
        private val objectFactory: ObjectFactory,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionBackedFileTree.java

    import org.gradle.api.internal.tasks.TaskDependencyResolveContext;
    import org.gradle.api.tasks.util.PatternFilterable;
    import org.gradle.api.tasks.util.PatternSet;
    import org.gradle.internal.Factory;
    import org.gradle.internal.logging.text.TreeFormatter;
    import org.gradle.internal.nativeintegration.services.FileSystems;
    
    import java.io.File;
    import java.util.HashSet;
    import java.util.Set;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:50 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top