Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Try (0.12 sec)

  1. Development.md

    The suggestions are displayed in the separate "Try"- section of the console output.
    The suggestions are collected in the `BuildExceptionReporter` and printed to the console.
    
    In some cases, you still want to keep the old behavior and display the suggestions in the error message.
    
    ### Add custom suggestions
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Feb 06 22:54:40 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

            if (!sourceFile.name.endsWith('.java')) {
                throw new DocGenerationException("Parsing non-Java files is not supported: $sourceFile")
            }
            try {
                new JavaParser().parse(sourceFile).getResult().get().accept(new SourceMetaDataVisitor(), repository)
            } catch (Exception e) {
                throw new DocGenerationException("Could not parse '$sourceFile'.", e)
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  3. .github/workflows/CheckBadMerge.groovy

            "platforms/core-runtime/launcher/src/main/resources/release-features.txt"
        ]
    
        static void main(String[] commits) {
            println("Commits to check: ${Arrays.toString(commits)}")
            try {
                commits.each { checkCommit(it) }
            } finally {
                THREAD_POOL.shutdown()
            }
        }
    
        static void checkCommit(String commit) {
    Groovy
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

                        spec.getSourceLinks().add(sourceLinkSpec);
                    }
                );
        }
    
        private static URI toUri(File projectRootDir, File file, String commitId) {
            try {
                URI relativeLocation = projectRootDir.toURI().relativize(file.toURI());
                return new URI("https://github.com/gradle/gradle/blob/" + commitId + "/" + relativeLocation);
            } catch (URISyntaxException e) {
    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)
  5. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt

                if (!dirVersion.matches(dirVersionPattern)) {
                    continue
                }
    
                val cacheVersion =
                    try {
                        GradleVersion.version(dirVersion)
                    } catch (e: IllegalArgumentException) {
                        // Ignore
                        continue
                    }
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

            appendFileContentsTo(document.head(), "<style>", releaseNotesCss, "</style>");
        }
    
        private void appendFileContentsTo(Element element, String open, File file, String close) {
            try (FileReader reader = new FileReader(file)) {
                element.append(open + CharStreams.toString(reader) + close);
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 25 04:49:56 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. .github/CODEOWNERS

    ##
    ## CODEOWNERS style rules:
    ## 1. Prefer team ownership over individual user ownership.
    ## 2. GBT-related team should be listed first.
    ## 3. Try to keep paths alphabetically sorted within visual groups.
    ## 4. List individual owners last.
    ##
    
    # bt-unassigned-maintainers must be the first owner
    # All directories that are not explicitly listed below are considered
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 15:52:09 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/CIBuildModel.kt

        EXPERIMENTAL_VFS_RETENTION("Experimental FS Watching", "On demand checks to run tests with file system watching enabled", "ExperimentalVfsRetention"),
        EXPERIMENTAL_PERFORMANCE("Experimental Performance", "Try out new performance test running", "ExperimentalPerformance");
    
        val id: String
            get() = stageName.replace(" ", "").replace("-", "")
    }
    
    private val performanceRegressionTestCoverages = listOf(
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 23 01:54:48 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  9. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

                apiTypesBySourceName.computeIfAbsent(sourceName) {
                    apiTypeFor(sourceName, classBytes)
                }!!
            }.map { it() }
        }
    
        override fun close() =
            try {
                repository.close()
            } finally {
                closed = true
            }
    
        private
        fun apiTypeFor(sourceName: String, classBytes: () -> ByteArray): () -> ApiType = {
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  10. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            String timestamp = LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd-HH-mm-ss"));
            File psOutFile = new File(rootProjectDir, timestamp + ".psoutput");
    
            try {
                Files.write(psOutFile.toPath(), psOutput);
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
Back to top