- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 579 for asFile (0.11 sec)
-
platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/ConfigurePrecompiledScriptDependenciesResolver.kt
listOf( kotlinDslImplicitImports to implicitImportsForPrecompiledScriptPlugins(implicitImports, classPathFingerprinter, classPathFiles) ) + precompiledScriptPluginImportsFrom(metadataDir.asFile) ) } private fun precompiledScriptPluginImportsFrom(metadataDirFile: File): List<Pair<String, List<String>>> = metadataDirFile.run { require(isDirectory) listFilesOrdered().map {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 3.1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt
@get:PathSensitive(PathSensitivity.RELATIVE) abstract val apiChangesDirectory: DirectoryProperty protected fun loadChanges(): Map<File, List<AcceptedApiChange>> { return apiChangesDirectory.get().asFile.listFiles() ?.filter { it.name.endsWith(".json") }?.associate { it to it.readAcceptedChanges() }?.filterValues {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 2.9K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt
init { lowestTestedVersion = GradleVersion.version("3.0") lowestInterestingVersion = GradleVersion.version("0.8") val releasedVersions = releasedVersionsFile.asFile.reader().use { Gson().fromJson(it, ReleasedVersions::class.java) } val latestFinalRelease = releasedVersions.finalReleases.first() val latestRelease =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 06:17:20 UTC 2024 - 3.3K bytes - Viewed (0) -
build-logic/packaging/src/main/kotlin/gradlebuild/packaging/transforms/CopyPublicApiClassesTransform.kt
@get:InputArtifact @get:Classpath abstract val inputArtifact: Provider<FileSystemLocation> override fun transform(outputs: TransformOutputs) { val jarFile = inputArtifact.get().asFile val zipFile = ZipFile(jarFile) val outputRoot = outputs.dir("public-api") zipFile.stream().forEach { entry -> if (entry.shouldInclude()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 11:35:57 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformOfDirectoriesIntegrationTest.groovy
@InputArtifact abstract Provider<FileSystemLocation> getInput() void transform(TransformOutputs outputs) { def dir = input.get().asFile assert dir.directory println("transforming [\${dir.name}]") outputs.file("\${dir.name}.size").text = 'ok' } } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MapPropertyIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 04 15:28:53 UTC 2024 - 24.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/ClosedProjectSubstitutionCrossVersionSpec.groovy
dep.buildDependencies(sourceJar, javadocJar) dep.publicationSourcePath = cp.fileReference(sourceJar.archiveFile.get().asFile) dep.publicationJavadocPath = cp.fileReference(javadocJar.archiveFile.get().asFile) } } } """ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 11.6K bytes - Viewed (0) -
subprojects/diagnostics/src/test/groovy/org/gradle/api/plugins/ProjectReportsPluginTest.groovy
Task htmlReport = project.tasks.getByName(ProjectReportsPlugin.HTML_DEPENDENCY_REPORT); htmlReport instanceOf(HtmlDependencyReportTask.class) htmlReport.reports.html.outputLocation.get().asFile == new File(project.buildDir, "reports/project/dependencies") htmlReport.projects == [project] as Set Task projectReport = project.getTasks().getByName(ProjectReportsPlugin.PROJECT_REPORT);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 25 21:08:17 UTC 2022 - 3.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskSerializationIntegrationTest.groovy
def copy1 = tasks.register("copy1", Copy) { destinationDir = layout.buildDirectory.dir("copy1").get().asFile from file("copy1source.txt") } def copy2 = tasks.register("copy2", Copy) { destinationDir = layout.buildDirectory.dir("copy2").get().asFile from file("copy2source.txt") } tasks.register("reader") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 12.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskCacheabilityReasonIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 16:59:01 UTC 2024 - 17.6K bytes - Viewed (0)