Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for CurrentGradleInstallation (0.54 sec)

  1. platforms/core-runtime/build-process-services/src/main/java/org/gradle/internal/installation/CurrentGradleInstallation.java

     */
    @ServiceScope({Scope.Global.class, Scope.Build.class})
    public class CurrentGradleInstallation {
    
        private static CurrentGradleInstallation instance;
    
        private final GradleInstallation gradleInstallation;
    
        public CurrentGradleInstallation(@Nullable GradleInstallation gradleInstallation) {
            this.gradleInstallation = gradleInstallation;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-process-services/src/main/java/org/gradle/internal/installation/CurrentGradleInstallationLocator.java

            }
            return locateViaClass(clazz);
        }
    
        static CurrentGradleInstallation locateViaClass(Class<?> clazz) {
            File dir = findDistDir(clazz);
            if (dir == null) {
                return new CurrentGradleInstallation(null);
            } else {
                return new CurrentGradleInstallation(new GradleInstallation(dir));
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/invocation/DefaultGradleSpec.groovy

        ListenerManager listenerManager = Spy(TestListenerManager)
    
        StartParameterInternal parameter = new StartParameterInternal()
        CurrentGradleInstallation currentGradleInstallation = Mock(CurrentGradleInstallation)
        BuildOperationRunner buildOperationRunner = new TestBuildOperationRunner()
        ListenerBuildOperationDecorator listenerBuildOperationDecorator = new TestListenerBuildOperationDecorator()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:53:34 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. platforms/extensibility/unit-test-fixtures/src/main/java/org/gradle/testfixtures/internal/TestBuildScopeServices.java

        protected BuildClientMetaData createClientMetaData() {
            return new DefaultBuildClientMetaData(new GradleLauncherMetaData());
        }
    
        @Provides
        protected CurrentGradleInstallation createCurrentGradleInstallation() {
            return new CurrentGradleInstallation(new GradleInstallation(homeDir));
        }
    
        private static class EmptyGradleProperties implements GradleProperties {
            @Nullable
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:42 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/service/scopes/WorkerSharedGlobalScopeServices.java

                namedObjectInstantiator
            );
        }
    
        @Provides
        DefaultModuleRegistry createModuleRegistry(CurrentGradleInstallation currentGradleInstallation) {
            return new DefaultModuleRegistry(additionalModuleClassPath, currentGradleInstallation.getInstallation());
        }
    
        @Provides
        GlobalCache createGlobalCache(DefaultModuleRegistry moduleRegistry) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:42 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/initialization/BuildLayoutParameters.java

     * limitations under the License.
     */
    
    package org.gradle.initialization;
    
    import org.gradle.internal.SystemProperties;
    import org.gradle.internal.installation.CurrentGradleInstallation;
    import org.gradle.internal.installation.GradleInstallation;
    
    import javax.annotation.Nullable;
    import java.io.File;
    
    import static org.gradle.internal.FileUtils.canonicalize;
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 26 20:57:11 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/build-process-services/src/main/java/org/gradle/launcher/bootstrap/ProcessBootstrap.java

    import org.gradle.internal.classloader.DefaultClassLoaderFactory;
    import org.gradle.internal.classloader.VisitableURLClassLoader;
    import org.gradle.internal.classpath.ClassPath;
    import org.gradle.internal.installation.CurrentGradleInstallation;
    
    import java.lang.reflect.Method;
    
    public class ProcessBootstrap {
        /**
         * Sets up the ClassLoader structure for the given class, creates an instance and invokes {@link EntryPoint#run(String[])} on it.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/project/antbuilder/AntBuilderMemoryLeakTest.groovy

    import org.gradle.api.internal.classpath.DefaultModuleRegistry
    import org.gradle.api.internal.classpath.ModuleRegistry
    import org.gradle.internal.classloader.DefaultClassLoaderFactory
    import org.gradle.internal.installation.CurrentGradleInstallation
    import org.gradle.internal.time.CountdownTimer
    import org.gradle.internal.time.Time
    import spock.lang.Ignore
    import spock.lang.Shared
    import spock.lang.Specification
    
    import java.lang.reflect.Proxy
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 26 09:30:27 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/SimpleGeneratedJavaClassCompilerTest.groovy

    import org.gradle.api.internal.classpath.ModuleRegistry
    import org.gradle.internal.classpath.ClassPath
    import org.gradle.internal.classpath.DefaultClassPath
    import org.gradle.internal.installation.CurrentGradleInstallation
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider
    import org.junit.Rule
    import org.objectweb.asm.ClassReader
    import org.objectweb.asm.ClassVisitor
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultIsolatedAntBuilderTest.groovy

    import org.gradle.api.logging.LogLevel
    import org.gradle.internal.classloader.ClasspathUtil
    import org.gradle.internal.classloader.DefaultClassLoaderFactory
    import org.gradle.internal.installation.CurrentGradleInstallation
    import org.gradle.internal.logging.ConfigureLogging
    import org.gradle.internal.logging.TestOutputEventListener
    import org.junit.After
    import org.junit.Before
    import org.junit.Rule
    import org.junit.Test
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 22 10:43:11 UTC 2021
    - 6.6K bytes
    - Viewed (0)
Back to top