Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for isFile (0.15 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy

        }
    
        gradlebuild.docs.dsl.docbook.model.ClassDoc findClassDoc(String className) {
            gradlebuild.docs.dsl.docbook.model.ClassDoc classDoc = classes[className]
            if (classDoc == null && getFileForClass(className).isFile()) {
                return getClassDoc(className)
            }
            return classDoc
        }
    
        gradlebuild.docs.dsl.docbook.model.ClassDoc getClassDoc(String className) {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

         */
        fun sourceFileAndSourceRootFor(sourceFilePath: String): Pair<File, File> =
            sourceRoots.asSequence()
                .map { it.resolve(sourceFilePath) to it }
                .firstOrNull { it.first.isFile }
                ?: throw IllegalStateException("Source file '$sourceFilePath' not found, searched in source roots:\n  - ${sourceRoots.joinToString("\n  - ")}")
    
        private
        val KtFile.normalizedPath: String?
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Feb 20 16:37:41 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupRootPlugin.kt

            return listOf(project.layout.buildDirectory.file("test-results/$name/trace.json").get().asFile)
        }
    
        private
        fun Task.genericHtmlReports() = when (this) {
            is Reporting<*> -> listOf(this.reports["html"].outputLocation.get().asFile)
            else -> emptyList()
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Jul 06 10:57:13 GMT 2023
    - 3K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

        @TaskAction
        def transform() {
            XIncludeAwareXmlProvider provider = new XIncludeAwareXmlProvider()
            provider.parse(sourceFile.get().asFile)
            transformImpl(provider.document)
            provider.write(destFile.get().asFile)
        }
    
        private def transformImpl(Document doc) {
            use(BuildableDOMCategory) {
                addVersionInfo(doc)
                transformApiLinks(doc)
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.6K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleClasspath.groovy

        @InputArtifact
        abstract Provider<FileSystemLocation> getArtifact()
    
        @Override
        void transform(TransformOutputs outputs) {
            File artifactFile = artifact.get().asFile
            if (artifactFile.name == 'gradle-dependencies') {
                (artifactFile.listFiles() as List<File>).sort { it.name }.each {
                    outputs.file(it)
                }
            }
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jul 07 13:12:26 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  6. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

        }
        sourceSets["main"].output.dir(classpathManifest.map { it.manifestFile.get().asFile.parentFile })
    }
    
    /**
     * Walk the resolved graph and discover all external dependencies that are not transitive dependencies
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Mar 28 20:26:58 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

            TypeNameResolver resolver = new TypeNameResolver(repository)
            repository.each { name, metaData ->
                fullyQualifyAllTypeNames(metaData, resolver)
            }
            repository.store(destinationFile.get().asFile)
    
            Date stop = new Date()
            TimeDuration elapsedTime = TimeCategory.minus(stop, start)
            Logging.getLogger(this.getClass()).lifecycle( "Parsed $counter classes in ${elapsedTime}")
        }
    
    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)
  8. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

            else -> "Incubating since $version"
        }
    
        private
        fun generateReport(data: Map<String, ReportNameToProblems>) {
            val outputFile = parameters.htmlReportFile.get().asFile
            outputFile.parentFile.mkdirs()
            outputFile.printWriter(Charsets.UTF_8).use { writer ->
                writer.println(
                    """<html lang="en">
        <head>
    HTML
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 18 06:55:55 GMT 2021
    - 3.4K bytes
    - Viewed (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

         */
        protected
        fun parseReleaseNotes(): Triple<List<String>, List<String>, List<String>> {
            val releaseNotesLines: List<String> = releaseNotes.asFile.get().readLines()
            val contributorSectionBeginIndex = releaseNotesLines.indexOfFirst { it.startsWith("We would like to thank the following community members for their contributions to this release of Gradle:") } + 1
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon May 16 05:03:11 GMT 2022
    - 5.7K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleJars.groovy

        @InputArtifact
        abstract Provider<FileSystemLocation> getArtifact()
    
        @Override
        void transform(TransformOutputs outputs) {
            File baselineJarsDirectory = artifact.get().asFile
            if (baselineJarsDirectory.name == 'gradle-jars') {
                baselineJarsDirectory.listFiles().each {
                    outputs.file(it)
                }
            }
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 12:20:44 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top