- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for json (0.37 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ApiChange.groovy
import groovy.transform.Immutable @Immutable class ApiChange { String type String member List<String> changes static ApiChange parse(Object json) { new ApiChange(json.type, json.member, json.changes ?: []) } String toString() { def formattedMember = member - "$type." "$type - $formattedMember - $changes" }
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1023 bytes - Viewed (0) -
.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"),
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Thu Feb 15 17:04:41 GMT 2024 - 8.5K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupRootPlugin.kt
fun Task.findTraceJson(): List<File> { if (this !is Test) { return emptyList() } // e.g. build/test-results/embeddedIntegTest/trace.json 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)
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) -
.teamcity/src/main/kotlin/projects/CheckProject.kt
) : Project({ id("Check") name = "Check" val performanceTestBucketProvider = StatisticsBasedPerformanceTestBucketProvider(model, File("performance-test-durations.json"), File("performance-tests-ci.json")) params { param("credentialsStorageType", "credentialsJSON") // Disallow Web UI changes to TeamCity settings param("teamcity.ui.settings.readOnly", "true")
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Wed Apr 24 03:34:53 GMT 2024 - 3.1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt
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() val initialString = gson.toJson(AcceptedApiChanges(changes))
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) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy
Map getInitializationParams() { return [acceptedApiChanges: [:], publicApiPatterns: ['gradlebuild[.]binarycompatibility[.]rules.[^.]+'], apiChangesJsonFile: new File(testDir, 'test-api-changes.json').path, projectRootDir: testDir.path] } String replaceAsInternal(String name) { return name.replace('gradlebuild', 'gradlebuild.internal') }
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Oct 06 19:15:15 GMT 2022 - 2K bytes - Viewed (0) -
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) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt
package gradlebuild.binarycompatibility import com.google.gson.Gson import org.gradle.testkit.runner.TaskOutcome import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Test class SortAcceptedApiChangesTaskIntegrationTest : AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest() { @Test fun `verify misordered changes can be sorted`() { //language=JSON acceptedApiChangesFile.writeText( """
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Sep 30 18:18:04 GMT 2022 - 7.5K bytes - Viewed (0) -
.teamcity/pluginData/Check/plugin-settings.xml
<build-type id="bt270451" /> </build-types> </webhook> <webhook url="https://gradle-bot.grdev.net/teamcity" enabled="true" template="legacy-tailored-json"> <states> <state type="buildAddedToQueue" enabled="false" /> <state type="buildRemovedFromQueue" enabled="false" /> <state type="buildStarted" enabled="false" />
XML - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Tue May 18 02:15:16 GMT 2021 - 2.2K bytes - Viewed (0) -
.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
Others - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Thu May 02 09:13:16 GMT 2024 - 3.9K bytes - Viewed (0)