Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for cjson (0.24 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 {
    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/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

        protected
        fun loadChanges(): List<AcceptedApiChange> {
            val jsonString = apiChangesFile.get().asFile.readText()
            val json = Gson().fromJson(jsonString, AcceptedApiChanges::class.java)
            return json.acceptedApiChanges!!
        }
    
        /**
         * Sorts the given list of [AcceptedApiChange]s by type and member.
         * <p>
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                        val v2Jar = v2.tasks.named("jar")
                        val newUpgradedPropertiesFile = layout.buildDirectory.file("gradle-api-info/new-upgraded-properties.json")
                        val oldUpgradedPropertiesFile = layout.buildDirectory.file("gradle-api-info/old-upgraded-properties.json")
                        val extractGradleApiInfo = tasks.register<ExtractGradleApiInfoTask>("extractGradleApiInfo") {
                            gradleApiInfoJarPrefix = "v"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

            else -> parent.parentOrRoot()
        }
    }
    
    
    fun Project.releasedVersionsFile() = repoRoot().file("released-versions.json")
    
    
    /**
     * We use command line Git instead of JGit, because JGit's `Repository.resolve` does not work with worktrees.
     */
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  5. .teamcity/subprojects.json

    Adam Murdoch <******@****.***> 1715120479 +0000
    Json
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue May 07 22:21:19 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

                        var result = [];
                        changeElements.each((idx, val) => result.push(JSON.parse(val.textContent)));
                        return result;
                    }
    
                    function appendErrorCorrections(reason) {
                        var result = JSON.parse('${currentApiChanges.replace('\n', '')}'); // JSON string from report uses double quotes, contain it within single quotes
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/projects/GradleBuildToolRootProject.kt

            projectId = "Check",
            branch = branch,
            buildScanTags = listOf("Check"),
            subprojects = JsonBasedGradleSubprojectProvider(File("./subprojects.json"))
        )
        val gradleBuildBucketProvider = DefaultFunctionalTestBucketProvider(model, File("./test-buckets.json"))
        subProject(CheckProject(model, gradleBuildBucketProvider))
    
        if (!isSecurityFork()) {
            subProject(PromotionProject(model.branch))
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 1002 bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package model
    
    import com.alibaba.fastjson.JSON
    import java.io.File
    
    val ignoredSubprojects = listOf(
        "soak", // soak test
        "distributions-integ-tests", // build distribution testing
        "architecture-test" // sanity check
    )
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Jun 02 14:55:06 GMT 2023
    - 2.2K bytes
    - Viewed (1)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTaskIntegrationTest.kt

    class AlphabeticalAcceptedApiChangesTaskIntegrationTest : AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest() {
        @Test
        fun `verify AlphabeticalAcceptedApiChangesTask detects misordered changes`() {
            //language=JSON
            acceptedApiChangesFile.writeText(
                """
                    {
                        "acceptedApiChanges": [
                            {
                                "type": "org.gradle.api.tasks.AbstractExecTask",
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 6K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

                          In that case, you can publish a new snapshot from the release branch. This will update `released-versions.json` on `master`.
                          See <a href="https://docs.google.com/document/d/1KA5yI4HL18qOeXjXLTMMD_upkDbNUzTDGNfBGYdQlYw/edit#heading=h.9yqcmqviz47z">the documentation</a> for more details.
                      </div>
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top