Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getAsURLs (0.16 sec)

  1. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/ForkedTestClasspathFactory.java

                moduleRegistry.getModule("gradle-file-temp").getImplementationClasspath().getAsURLs(),
                moduleRegistry.getModule("gradle-hashing").getImplementationClasspath().getAsURLs(),
                moduleRegistry.getModule("gradle-base-services").getImplementationClasspath().getAsURLs(),
                moduleRegistry.getModule("gradle-stdlib-java-extensions").getImplementationClasspath().getAsURLs(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. platforms/extensibility/plugin-development/src/integTest/resources/org/gradle/compile/daemon/ParallelCompilerDaemonIntegrationTest/shared/GroovyClass.groovy

        }
    
        public Collection<File> getAsFiles() {
            return files;
        }
    
        public URL[] getAsURLArray() {
            Collection<URL> result = getAsURLs();
            return result.toArray(new URL[result.size()]);
        }
    
        public Collection<URL> getAsURLs() {
            List<URL> urls = new ArrayList<URL>();
            for (File file : files) {
                try {
                    urls.add(file.toURI().toURL());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:27:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/resources/org/gradle/compile/daemon/ParallelCompilerDaemonIntegrationTest/shared/JavaClass.java

        }
    
        public Collection<File> getAsFiles() {
            return files;
        }
    
        public URL[] getAsURLArray() {
            Collection<URL> result = getAsURLs();
            return result.toArray(new URL[0]);
        }
    
        public Collection<URL> getAsURLs() {
            List<URL> urls = new ArrayList<URL>();
            for (File file : files) {
                try {
                    urls.add(file.toURI().toURL());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:27:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/EffectiveClassPath.java

        }
    
        private static List<File> findAvailableClasspathFiles(ClassLoader classLoader) {
            List<URL> rawClasspath = ClasspathUtil.getClasspath(classLoader).getAsURLs();
            List<File> classpathFiles = new ArrayList<File>();
            for (URL url : rawClasspath) {
                if (url.getProtocol().equals("file")) {
                    try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/ClassLoaderStructureProvider.java

            Set<URL> classpath = new LinkedHashSet<>();
            classpath.addAll(DefaultClassPath.of(additionalClasspath).getAsURLs());
    
            Set<ClassLoader> uniqueClassloaders = new HashSet<>();
            for (Class<?> clazz : classes) {
                ClassLoader classLoader = clazz.getClassLoader();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/daemon/DaemonGroovyCompiler.java

            Iterable<File> classpath = Iterables.concat(spec.getGroovyClasspath(), antFiles);
            VisitableURLClassLoader.Spec targetGroovyClasspath = new VisitableURLClassLoader.Spec("worker-loader", DefaultClassPath.of(classpath).getAsURLs());
    
            ClassPath languageGroovyClasspath = classPathRegistry.getClassPath("GROOVY-COMPILER");
    
            FilteringClassLoader.Spec gradleAndUserFilter = getMinimalGradleFilter();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/process/internal/worker/DefaultMultiRequestWorkerProcessBuilder.java

            this.outputEventListener = outputEventListener;
            workerProcessBuilder.worker(new WorkerAction(workerImplementation));
            workerProcessBuilder.setImplementationClasspath(implementationClasspath.getAsURLs());
        }
    
        @Override
        public WorkerProcessSettings applicationClasspath(Iterable<File> files) {
            workerProcessBuilder.applicationClasspath(files);
            return this;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:54:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/DaemonJavaCompiler.java

                    Collections.singletonList(toolsJar)
                );
            }
    
            FlatClassLoaderStructure classLoaderStructure = new FlatClassLoaderStructure(new VisitableURLClassLoader.Spec("compiler", compilerClasspath.getAsURLs()));
            return new DaemonForkOptionsBuilder(forkOptionsFactory)
                .javaForkOptions(javaForkOptions)
                .withClassLoaderStructure(classLoaderStructure)
                .keepAliveMode(KeepAliveMode.DAEMON)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classpath/TransformedClassPath.java

        }
    
        /**
         * {@inheritDoc}
         * <p>
         * This method returns the list of original JAR/class directory URLs.
         */
        @Override
        public List<URL> getAsURLs() {
            return originalClassPath.getAsURLs();
        }
    
        /**
         * {@inheritDoc}
         * <p>
         * This method returns the array of original JAR/class directory URLs.
         */
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 13:59:11 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/internal/tasks/testing/detection/ForkedTestClasspathFactoryTest.groovy

            String extra = external ? "external" : "internal"
            return Mock(Module) {
                getImplementationClasspath() >> {
                    Mock(ClassPath) {
                        getAsURLs() >> { [new URL("file://${module}-${extra}.jar")] }
                        getAsFiles() >> { [new File("${module}-${extra}.jar")] }
                    }
                }
            }
        }
    
        TestFramework newFramework(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top