- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for exists (0.21 sec)
-
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 -> throw IllegalStateException("Cannot find 'version.txt' file in root of repository") else -> parent.parentOrRoot() }
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Feb 09 22:52:01 GMT 2024 - 5.7K bytes - Viewed (2) -
.teamcity/README.md
- Suppose the VCS root you just create is `MyNewVcsRoot`. Set "default branch" to `myTestBranch` where your code exists. - Click `Create subproject` button at the bottom of the "Subprojects" region of [this page](https://builds.gradle.org/admin/editProject.html?projectId=Gradle&tab=projectGeneralTab) - Select `Manually`.
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Wed Mar 06 23:02:25 GMT 2024 - 4K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt
} private fun generateSubprojects(): List<GradleSubproject> { return generateSubprojectsDirectories() .filter { File(it, "build.gradle.kts").exists() || File(it, "build.gradle").exists() } .sortedBy { it.name } .map(this::generateSubproject) } private fun generateSubproject(subprojectDir: File): GradleSubproject {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Apr 04 07:21:38 GMT 2024 - 2.9K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt
class Implementation(private val excludes: List<String>) { 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)
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 6.3K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt
try { JarOutputStream(BufferedOutputStream(FileOutputStream(jarFile))).use { jarOutputStream -> if (manifestFile.exists()) { jarOutputStream.addJarEntry(JarFile.MANIFEST_NAME, manifestFile) } val visited = linkedSetOf<ClassDetails>() for (classDetails in classGraph.entryPoints) {
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 4.4K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts
artifactTypes.getByName("jar") { attributes.attribute(minified, java.lang.Boolean.FALSE) } /* * This transform exists solely to shrink the size of the fastutil jar from 25MB to 1.7MB. * The keys to the map parameter are used as the names of the files to which to apply the transform - there is only one entry.
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 4.2K bytes - Viewed (0) -
.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()
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Wed Apr 24 08:17:56 GMT 2024 - 7.9K bytes - Viewed (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt
override fun beforeSuite(suite: TestDescriptor) { if (suite.parent == null) { forEachJavaProcess { pid, _ -> // processes that exist before the test suite execution should // not trigger a warning daemonPids += pid } } }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Jan 08 12:45:57 GMT 2024 - 3.4K bytes - Viewed (0)