Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for fwrite (0.15 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

        @TaskAction
        fun execute() {
            val sortedChanges = sortChanges(loadChanges())
            val json = formatChanges(sortedChanges)
            apiChangesFile.asFile.get().bufferedWriter().use { out -> out.write(json) }
        }
    
        private
        fun formatChanges(changes: List<AbstractAcceptedApiChangesMaintenanceTask.AcceptedApiChange>): String {
            val gson: Gson = GsonBuilder().setPrettyPrinting().create()
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

        }
    
        private
        fun touchFile(path: Path) {
            Files.createDirectories(path.parent)
            Files.write(path, byteArrayOf())
        }
    
        private
        fun someClasses(): Sequence<Path> {
            val directory = projectDir.resolve("classes")
    
            touchFile(directory.resolve("com/acme/Foo.class"))
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

                        @Throws(Exception::class)
                        override fun doExecute(s: String) {
                            bufferedWriter.write(s)
                            bufferedWriter.write('\n'.code)
                        }
                    })
                }
            })
        }
    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)
  4. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginIdExtensions.kt

    ) {
        file.bufferedWriter().use { writer ->
            writer.appendReproducibleNewLine(fileHeader)
            pluginIdExtensionDeclarationsFor(
                gradleJars,
                pluginDependenciesSpecQualifiedName,
                pluginDependencySpecQualifiedName
            ).forEach { extension ->
                writer.write("\n")
                writer.appendReproducibleNewLine(extension)
            }
        }
    }
    
    
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sun Nov 12 16:16:07 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  5. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

    import org.gradle.api.tasks.TaskAction
    import org.gradle.api.tasks.UntrackedTask
    import java.util.Properties
    import javax.xml.parsers.DocumentBuilderFactory
    
    
    /**
     * Fetch the latest Kotlin versions and write a properties file.
     * Never up-to-date, non-cacheable.
     */
    @UntrackedTask(because = "Not worth tracking")
    abstract class UpdateKotlinVersions : DefaultTask() {
    
        @get:Internal
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 26 13:50:17 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

    import org.gradle.util.internal.VersionNumber
    import org.jsoup.Jsoup
    import org.w3c.dom.Element
    import java.util.Properties
    import javax.xml.parsers.DocumentBuilderFactory
    
    
    /**
     * Fetch the latest AGP versions and write a properties file.
     * Never up-to-date, non-cacheable.
     */
    @UntrackedTask(because = "Not worth tracking")
    abstract class UpdateAgpVersions : DefaultTask() {
    
        @get:Internal
        abstract val comment: Property<String>
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jun 02 09:17:07 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  7. architecture/standards/0004-use-a-platform-architecture.md

    Provides build logic, libraries, test suites and infrastructure to support developing and releasing Gradle.
    
    #### Documentation
    
    Provides cross-cutting Gradle documentation and samples, along with the infrastructure to write, test, publish and host the documentation.
    
    ## Status
    
    ACCEPTED
    
    ## Consequences
    
    - Assign ownership of each architecture module to one team.
    - Assign each source file to one architecture module.
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sun Feb 25 22:19:29 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  8. architecture/platforms.md

    Provides build logic, libraries, test suites and infrastructure to support developing and releasing Gradle.
    
    ### Documentation
    
    Provides cross-cutting Gradle documentation and samples, along with the infrastructure to write, test, publish and host the documentation.
    
    ## Structure
    
    Each platform and module has its own source directory under [platforms/](../platforms).
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 06:42:46 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    ### Creating commits and writing commit messages
    
    The commit messages that accompany your code changes are an important piece of documentation. Please follow these guidelines when creating commits:
    
    * [Write good commit messages.](https://cbea.ms/git-commit/#seven-rules)
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat May 04 07:43:02 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  10. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

        outputFile.bufferedWriter().use { writer ->
            writer.write(fileHeaderFor(packageName, isIncubatingFileClass(targetType, extensions)))
            writer.write("\n")
            extensions.forEach {
                writer.write("\n${it.toKotlinString()}")
            }
        }
    
    
    /**
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 20 21:41:53 GMT 2023
    - 18.1K bytes
    - Viewed (0)
Back to top