Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for toURI (0.17 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

                        URI uri = toUri(project.getRootDir(), file, commitId);
                        sourceLinkSpec.getRemoteUrl().set(uri);
                        sourceLinkSpec.getRemoteLineSuffix().set("#L");
                        spec.getSourceLinks().add(sourceLinkSpec);
                    }
                );
        }
    
        private static URI toUri(File projectRootDir, File file, String commitId) {
            try {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 15 14:00:14 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

            return tasksExecuted + if (descriptor.language === Language.KOTLIN) 1 else 0
        }
    
        private
        fun Directory.template(templateFragment: String) = file("$templateFragment.template").asFile.toURI().toURL()
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 06 17:51:21 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

                }
                into(getTemporaryDir())
            }
    
            def stylesheetFile = new File(getTemporaryDir(), "dslHtml.xsl")
            def xslthlConfigFile = getStylesheetHighlightFile().get().asFile.toURI()
    
            // TODO: Implement this with the worker API
            workerLeaseService.runAsIsolatedTask({
                source.visit { FileVisitDetails fvd ->
                    if (fvd.isDirectory()) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 05 19:36:14 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java

            File gradleRuntimeApiInfoJar = from.filter(file -> file.getName().startsWith(gradleApiInfoJarPrefix)).getSingleFile();
            URI uri = URI.create("jar:" + gradleRuntimeApiInfoJar.getAbsoluteFile().toURI());
            try (FileSystem fs = FileSystems.newFileSystem(uri, Collections.emptyMap())) {
                Path upgradedPropertiesJson = fs.getPath(UPGRADED_PROPERTIES_FILE);
                if (Files.exists(upgradedPropertiesJson)) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Nov 22 22:15:41 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

    ) {
    
        fun analyze(jarFile: File, classesDir: File, manifestFile: File, buildReceipt: File): ClassGraph {
            val classGraph = classGraph()
    
            val jarUri = URI.create("jar:${jarFile.toPath().toUri()}")
            FileSystems.newFileSystem(jarUri, emptyMap<String, Any>()).use { jarFileSystem ->
                jarFileSystem.rootDirectories.forEach {
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

            CodeSource codeSource = domain.getCodeSource();
            if (codeSource != null) {
                try {
                    classpath.add(new File(codeSource.getLocation().toURI()));
                } catch (URISyntaxException e) {
                    // silent
                }
            }
        }
    
        private List<JApiCmpWorkerAction.Archive> inferArchives(FileCollection fc) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 26 10:58:32 GMT 2023
    - 13.3K bytes
    - Viewed (0)
Back to top