- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 52 for mkdirs (0.07 seconds)
-
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt
fun generate() { if (promotionBuild.get()) { logger.logBuildVersion() } val file = receiptFolder.file(buildReceiptLocation).get().asFile.also { it.parentFile.mkdirs() } ReproduciblePropertiesWriter.store( Properties().apply { put("commitId", commitId.getOrElse("HEAD")) put("versionNumber", version.get())
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 16 02:21:13 GMT 2025 - 3.9K bytes - Click Count (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt
} private fun generateHtmlReport(data: Map<String, ProjectNameToProblems>) { val outputFile = parameters.htmlReportFile.get().asFile outputFile.parentFile.mkdirs() outputFile.printWriter(Charsets.UTF_8).use { writer -> writer.println( """<html lang="en"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8">Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Jun 02 09:57:54 GMT 2025 - 5.2K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupTask.kt
projectDir.mkdirs() File(projectDir, "build.gradle").writeText(generateBuildGradle(version)) File(projectDir, "settings.gradle.kts").writeText(generateSettingsGradleKts(version)) File(projectDir, "gradle.properties").writeText(generateGradleProperties()) val manifestDir = File(projectDir, "src/main") manifestDir.mkdirs()Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 09 09:24:29 GMT 2025 - 5.8K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java
// TODO: This could probably use InputChanges API File destinationDirectory = getDestinationDirectory().get().getAsFile(); getFs().delete(spec -> spec.delete(destinationDirectory)); destinationDirectory.mkdirs(); Path adocDir = getDocumentationRoot().get().getAsFile().toPath(); getDocumentationFiles().getAsFileTree().matching(pattern -> pattern.include("**/*.adoc")).forEach(adocFile -> {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue May 27 09:07:14 GMT 2025 - 3K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt
lateinit var firstAcceptedApiChangesFile: File lateinit var secondAcceptedApiChangesFile: File @BeforeEach fun setUp() { projectDir.resolve("src").resolve("changes").resolve("accepted-changes").mkdirs() firstAcceptedApiChangesFile = projectDir.resolve("src/changes/accepted-changes/accepted-public-api-changes.json")Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Nov 29 14:03:44 GMT 2024 - 6K bytes - Click Count (0) -
.teamcity/.mvn/wrapper/MavenWrapperDownloader.java
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH); if(!outputFile.getParentFile().exists()) { if(!outputFile.getParentFile().mkdirs()) { System.out.println( "- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'"); } }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Feb 26 01:48:39 GMT 2020 - 4.8K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt
val packageNamePath = packageName.replace(".", File.separator) val packageDirectory = sourceRootDirectory.file(packageNamePath).asFile if (!packageDirectory.exists() && !packageDirectory.mkdirs()) { throw IOException("Failed to create directory `$packageDirectory`") } writeAnnotationFile(packageDirectory, packageName, "GroovyBuildScriptLanguage") {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sun Jul 07 16:02:18 GMT 2024 - 8.1K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/ExtractAndroidStudioTask.kt
} try { execOps.exec { commandLine("hdiutil", "attach", androidStudioDistribution.absolutePath, "-mountpoint", volumeDir) } outputDir.get().asFile.mkdirs() execOps.exec { commandLine("cp", "-r", "$volumeDir/Android Studio.app/Contents", outputDir.get().asFile.absolutePath) } } finally { execOps.exec {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Feb 19 08:02:04 GMT 2025 - 3.7K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/GenerateAutoTestedSamplesTestTask.kt
val targetFilePath = "${relativePath.substringBeforeLast("/")}/${className}.groovy" val targetFile = outputDir.file(targetFilePath).get().asFile targetFile.parentFile.mkdirs() targetFile.writeText( """ package org.gradle.samples import org.gradle.integtests.fixtures.AbstractAutoTestedSamplesTest import org.junit.TestCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Dec 19 06:44:41 GMT 2025 - 3.9K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt
ClassReader.EXPAND_FRAMES ) classesDir.resolve(outputPrefix).resolve(details.outputClassFilename).apply { parentFile.mkdirs() writeBytes(classWriter.toByteArray()) } } catch (exception: Exception) {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sat Mar 22 03:48:38 GMT 2025 - 7.3K bytes - Click Count (0)