Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for formats (0.21 sec)

  1. architecture/standards/0002-avoid-using-java-serialization.md

    ## Decision
    
    We do not use Java serialization.
    Instead, we use custom serialization where we explicitly describe how data objects should be serialized and deserialized.
    
    For internal purposes, we use binary formats for their brevity.
    We use the `Serializer` abstraction to separate the actual implementation of serialization from its uses.
    
    When sharing data with external tools, we use JSON.
    
    ## Status
    
    ACCEPTED
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Feb 29 22:32:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt

                .map { (_, v) -> v.maxOrNull()!!.format() }
    
            // Limit to first and last release of each major version
            mainTestedVersions = testedVersions.map { VersionNumber.parse(it.gradleVersion().version) }
                .groupBy { it.major }
                .map { (_, v) -> listOf(v.minOrNull()!!.format(), v.maxOrNull()!!.format()) }.flatten()
        }
    
        private
        fun VersionNumber.format() =
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. .teamcity/README.md

    You also need to run `mvn clean verify` with Java 8 before committing changes.
    
    If you have ktlint errors, you can automatically fix them by running `mvn com.github.gantsign.maven:ktlint-maven-plugin:1.1.1:format`.
    
    ## How the configuration works
    
    We use Kotlin portable DSL to store TeamCity configuration, which means you can easily create a new pipeline
    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)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

        /**
         * It appears there is no way to configure Gson to use 4 spaces instead of 2 for indentation.
         *
         * See: https://github.com/google/gson/blob/master/UserGuide.md#TOC-Compact-Vs.-Pretty-Printing-for-JSON-Output-Format
         */
        private
        fun adjustIndentation(initalJsonString: String): String {
            val indentationRegex = """^\s+""".toRegex(RegexOption.MULTILINE)
            return indentationRegex.replace(initalJsonString) { m ->
    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)
  5. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt

                    Date()
                }
                else -> {
                    Date().withoutTime()
                }
            }
            return timestampFormat.format(buildTime)
        }
    
        override fun getDisplayName(): String =
            "the build timestamp ($timestampSource)"
    
        private
        val timestampSource: String
            get() = parameters.run {
                when {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. build-logic/jvm/src/main/kotlin/gradlebuild/jvm/argumentproviders/CiEnvironmentProvider.kt

            "-Dorg.gradle.integtest.mirrors.${it.key}=${it.value}"
        }
    
        private
        fun collectMirrorUrls(): Map<String, String> =
            // expected env var format: repo1_id:repo1_url,repo2_id:repo2_url,...
            System.getenv("REPO_MIRROR_URLS")?.ifBlank { null }?.split(',')?.associate { nameToUrl ->
                val (name, url) = nameToUrl.split(':', limit = 2)
                name to url
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2K bytes
    - Viewed (0)
  7. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt

                file
            )
        }
    
        private
        fun getBuildTimestampAsString() =
            buildTimestamp.get().let { timestampFormat.format(it) }
    
        private
        fun getBuildTimestampAsIsoString() =
            buildTimestamp.get().let { isoTimestampFormat.format(it) }
    
        private
        fun Logger.logBuildVersion() {
            lifecycle(
                "Version: ${version.get()} " +
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  8. architecture/standards/0001-use-architectural-decision-records.md

    ADRs can be written by any team.
    Like code, they should be reviewed by any other relevant teams.
    The goal is not to *own* a decision, but to *share* it with other teams, and improve the build tool together.
    
    ### Format
    
    The format for ADR should follow this template:
    
    ```markdown
    # ADR-000X - Title
    
    ## Date
    
    20YY-MM-DD
    
    ## Context
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Mar 02 21:54:40 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt

            // Remove script caches from TestKit integTest temp dir
            // location defined in TempTestKitDirProvider, copied here
            val testKitTmpDir = File(File(System.getProperty("java.io.tmpdir")), String.format(".gradle-test-kit-%s", System.getProperty("user.name")))
            fileSystemOperations.removeCachedScripts(File(testKitTmpDir, "caches"))
            fileSystemOperations.removeTransformDir(File(testKitTmpDir, "caches"))
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  10. architecture/standards/README.md

    Our aim is to keep the process lightweight and approachable.
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Feb 21 06:30:44 GMT 2024
    - 546 bytes
    - Viewed (0)
Back to top