Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for json (0.32 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChanges.groovy

            acceptedApiChanges.acceptedChanges = [:]
            for (String jsonText : jsonTexts) {
                def json = new Gson().fromJson(jsonText, new TypeToken<Map<String, List<AcceptedApiChange>>>() {}.type)
                Map<ApiChange, String> acceptedChanges = json.acceptedApiChanges.collectEntries { jsonChange ->
                    [(jsonChange.toApiChange()): jsonChange.acceptation]
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

    /**
     * Process test-class-data.json and generates test-buckets.json
     *
     * Usage: `mvn compile exec:java@update-test-buckets -DinputTestClassDataJson=/path/to/test-class-data.json`.
     * You can get the JSON file as an artifacts of the "autoUpdateTestSplitJsonOnGradleMaster" pipeline in TeamCity.
     */
    fun main() {
        val model = CIBuildModel(
            projectId = "Check",
            branch = VersionedSettingsBranch("master"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 17:04:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt

                            artifactRules = if (index == 0) {
                                // The artifact rule report/css/*.css => performanceResultsDir is there to clean up the target directory.
                                // If we don't clean that up there might be leftover json files from other report builds running on the same machine.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:42 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

            firstAcceptedApiChangesFile = projectDir.resolve("src/changes/accepted-changes/accepted-public-api-changes.json")
            secondAcceptedApiChangesFile = projectDir.resolve("src/changes/accepted-changes/second-accepted-public-api-changes.json")
    
            projectDir.resolve("build.gradle.kts")
                .writeText(
                    """
                        plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

    package model
    
    import com.alibaba.fastjson.JSON
    import com.alibaba.fastjson.JSONArray
    import com.alibaba.fastjson.JSONObject
    import common.Os
    import configurations.FunctionalTest
    import configurations.ParallelizationMethod
    import java.io.File
    
    /**
     * QuickCrossVersionTest only tests the last minor for each major version in the range.
     */
    val QUICK_CROSS_VERSION_BUCKETS = listOf(
        listOf("0.0", "3.0"), // 0.0 <= version < 3.0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 05:14:09 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt

        @get:Internal
        protected
        val subprojectsJson = project.layout.projectDirectory.file(".teamcity/subprojects.json")
    
        protected
        fun generateSubprojectsJson(): String {
            val subprojects = generateSubprojects()
            val gson = GsonBuilder().setPrettyPrinting().create()
            return gson.toJson(subprojects) + '\n'
        }
    
        private
        fun generateSubprojectsDirectories(): List<File> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/CleanAcceptedApiChanges.groovy

        @TaskAction
        void clean() {
            def jsonFileManager = new AcceptedApiChangesJsonFileManager()
            jsonFileDirectory.asFile.get().listFiles()
                ?.findAll { it.name.endsWith(".json") }
                ?.each { jsonFileManager.emptyAcceptedApiChanges(it) }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:27:29 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. .github/workflows/contributor-pr.yml

        runs-on: ubuntu-latest
        steps:
          - name: git clone
            uses: actions/checkout@v4
          - id: setup-matrix
            run: echo "matrix=$(jq -c -f .github/workflows/extract-unit-test-split.jq .teamcity/subprojects.json)" >> $GITHUB_OUTPUT
          - name: setup java
            uses: actions/setup-java@v4
            with:
              distribution: temurin
              java-version: 11
          - id: determine-sys-prop-args
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

            }
        }
    }
    
    // We support multiple accepted public api changes JSON files, but "accepted-public-api-changes.json"
    // is the "main" one that is also shown in HTML report
    def apiChangesJsonDirectory = layout.projectDirectory.dir("src/changes/accepted-changes")
    def mainApiChangesJsonFile = apiChangesJsonDirectory.file("accepted-public-api-changes.json")
    def acceptedViolations = AcceptedApiChanges.parse(apiChangesJsonDirectory.asFile.listFiles()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

        JsonReader(source.reader(Charsets.UTF_8)).use { reader ->
            reader.isLenient = true
            return Gson().fromJson(reader)
        }
    }
    
    inline
    fun <reified T> Gson.fromJson(json: JsonReader): T = this.fromJson(json, object : TypeToken<T>() {}.type)
    
    
    abstract class CapabilityRule @Inject constructor(
        val name: String,
        val version: String
    ) : ComponentMetadataRule {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top