Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for RuntimeException (0.16 sec)

  1. .github/workflows/CheckBadMerge.groovy

                List<String> badFiles = MONITORED_FILES.grep { isBadFileInMergeCommit(it, commit, parentCommits[0], parentCommits[1]) }
                if (!badFiles.isEmpty()) {
                    throw new RuntimeException("Found bad files in merge commit $commit: $badFiles")
                } else {
                    println("No bad files found in $commit")
                }
            } else {
    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)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

                        resolver.resolve(t, classMetaData)
                    }
                })
            } catch (Exception e) {
                throw new RuntimeException("Could not resolve types in class '$classMetaData.className'.", 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. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

                return new URI("https://github.com/gradle/gradle/blob/" + commitId + "/" + relativeLocation);
            } catch (URISyntaxException e) {
                throw new RuntimeException(e);
            }
        }
    
        private static DokkatooExtension getDokkatooExtension(Project project) {
            return project.getExtensions().getByType(DokkatooExtension.class);
        }
    
    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)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java

            });
            if (!keptAccessors.isEmpty()) {
                String formattedLeft = CollectionUtils.join("\n", keptAccessors.keySet());
                throw new RuntimeException("The following accessors were upgraded, but didn't match any removed/changed method:\n\n" + formattedLeft);
            }
    
            // Find accessors that were removed but shouldn't be
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            File psOutFile = new File(rootProjectDir, timestamp + ".psoutput");
    
            try {
                Files.write(psOutFile.toPath(), psOutput);
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
    
        private static void cleanPsOutputAndThreaddumpFilesFromPreviousRun(File rootProjectDir) {
            if (executionMode == ExecutionMode.KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS) {
    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)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    
    val Project.gradleInstallPath: Provider<String>
        get() = gradleProperty(GRADLE_INSTALL_PATH).orElse(
            provider<String> {
                throw RuntimeException("You can't install without setting the $GRADLE_INSTALL_PATH property.")
            }
        )
    
    
    val Project.rerunAllTests: Provider<Boolean>
        get() = gradleProperty(RERUN_ALL_TESTS).map { true }.orElse(false)
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Jan 01 01:23:31 GMT 2024
    - 16.2K bytes
    - Viewed (0)
Back to top