Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for exists (0.15 sec)

  1. build-logic-settings/UpdateDevelocityPluginVersion.java

                System.exit(1);
            }
    
            String newVersion = args[0];
            String[] files = {
                "build-logic-commons/build-platform/build.gradle.kts",
                "build-logic-settings/settings.gradle.kts",
                "settings.gradle.kts"
            };
    
            for (String file : files) {
                File f = new File(file);
                if (f.exists()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 12 07:58:50 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts

            doFirst {
                val moduleBaseDir = localRepository.get().dir("org/gradle/${baseName.get()}").asFile
                if (moduleBaseDir.exists()) {
                    // Make sure artifacts do not pile up locally
                    moduleBaseDir.deleteRecursively()
                }
            }
    
            doLast {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 19 13:21:47 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

        public static final String CURRENT_ACCESSORS_OF_UPGRADED_PROPERTIES = "currentAccessorsOfUpgradedProperties";
    
        public static List<UpgradedProperty> parse(String path) {
            File file = new File(path);
            if (!file.exists()) {
                return Collections.emptyList();
            }
            try (FileReader reader = new FileReader(file)) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

    fun Directory.parentOrRoot(): Directory = if (this.file("version.txt").asFile.exists()) {
        this
    } else {
        val parent = dir("..")
        when {
            parent.file("version.txt").asFile.exists() -> parent
            this == parent -> error("Cannot find 'version.txt' file in root of repository")
            else -> parent.parentOrRoot()
        }
    }
    
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

            fun collectPackages(files: Iterable<Path>): Trie {
                val builder = Trie.Builder()
                for (file in files) {
                    if (Files.exists(file)) {
                        if (file.fileName.toString().endsWith(".jar")) {
                            processJarFile(file, builder)
                        } else {
                            processDirectory(file, builder)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

                .forwardOutput()
        }
    
        private void assertNoDeadLinks() {
            assert linkErrors.exists()
            assert linkErrors.text.stripTrailing().endsWith('All clear!')
        }
    
        private void assertFoundDeadLinks(Collection<DeadLink> deadLinks) {
            assert linkErrors.exists()
    
            def lines = linkErrors.readLines()
            deadLinks.each { deadLink ->
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 08:08:05 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                        String fileName = getFileName(result.group(1), sourceFile);
                        File referencedFile = new File(getDocumentationRoot().get().getAsFile(), fileName);
                        if (!referencedFile.exists() || referencedFile.isDirectory()) {
                            errorsForFile.add(new Error(lineNumber, line, "Looking for file named " + fileName));
                        } else {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 08:08:05 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

            echo "${'$'}REPO was polluted during the build"
            ${if (exitOnFailure) "exit 1" else ""}
        else
            echo "${'$'}REPO does not exist"
        fi
    
    """.trimIndent()
    
    fun checkCleanDirWindows(dir: String, exitOnFailure: Boolean = true) = """
        IF exist $dir (
            TREE $dir
            RMDIR /S /Q $dir
            ${if (exitOnFailure) "EXIT 1" else ""}
        )
    
    """.trimIndent()
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top