Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 238 for gson (0.04 sec)

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

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import com.google.gson.Gson
    import com.google.gson.reflect.TypeToken
    import org.gradle.util.GradleVersion
    
    class AcceptedApiChanges {
    
        GradleVersion baseVersion
        Map<ApiChange, String> acceptedChanges
    
    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. platforms/extensibility/plugin-development/src/test/groovy/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerializationTest.groovy

            given:
            def problem = problemReporter.create {
                it.id("id", "label", GradleCoreProblemGroup.validation())
            }
    
            when:
            def json = gson.toJson([problem])
            def deserialized = ValidationProblemSerialization.parseMessageList(json)
    
            then:
            deserialized.size() == 1
            deserialized[0].definition.id.name == "id"
            deserialized[0].definition.id.displayName == "label"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 08:30:15 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

            val gson: Gson = GsonBuilder().setPrettyPrinting().create()
            val initialString = gson.toJson(AcceptedApiChanges(changes))
            return adjustIndentation(initialString) + "\n"
        }
    
        /**
         * It appears there is no way to configure Gson to use 4 spaces instead of 2 for indentation.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import com.google.gson.Gson
    import com.google.gson.reflect.TypeToken
    import com.google.gson.stream.JsonReader
    import gradlebuild.basics.repoRoot
    import gradlebuild.basics.isBundleGroovy4
    import gradlebuild.modules.extension.ExternalModulesExtension
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/java-library/module-disabled/tests/buildJavaModule.out

    > Task :compileJava FAILED
    1 actionable task: 1 executed
    /home/user/gradle/samples/src/main/java/module-info.java:2: error: module not found: com.google.gson
        requires com.google.gson;          // real module
                           ^
    /home/user/gradle/samples/src/main/java/module-info.java:3: error: module not found: org.apache.commons.lang3
        requires org.apache.commons.lang3; // automatic module
                                   ^
    2 errors
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 09:29:37 UTC 2024
    - 735 bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import com.google.common.annotations.VisibleForTesting
    import com.google.gson.Gson
    import org.gradle.api.DefaultTask
    import org.gradle.api.file.DirectoryProperty
    import org.gradle.api.tasks.CacheableTask
    import org.gradle.api.tasks.InputDirectory
    import org.gradle.api.tasks.PathSensitive
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-development/build.gradle.kts

        api(project(":platform-jvm"))
        api(project(":problems-api"))
        api(project(":resources"))
        api(project(":toolchains-jvm-shared"))
        api(project(":workers"))
    
        api(libs.groovy)
        api(libs.gson)
        api(libs.jsr305)
        api(libs.inject)
    
        implementation(projects.serviceProvider)
        implementation(projects.buildOption)
        implementation(project(":dependency-management"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.identity.extension
    
    import com.google.gson.Gson
    import gradlebuild.identity.model.ReleasedVersions
    import org.gradle.api.file.RegularFile
    import org.gradle.util.GradleVersion
    import org.gradle.util.internal.VersionNumber
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/build.gradle.kts

        implementation(libs.commonsLang)
        implementation(libs.commonsIo)
        implementation(libs.guava)
    
        // GSon is not strictly required here but removing it moves the dependency in the distribution from lib to lib/plugins
        // TODO Check if this is an issue
        runtimeOnly(libs.gson)
        runtimeOnly(libs.jclToSlf4j)
        runtimeOnly(libs.log4jToSlf4j)
    
        testImplementation(testFixtures(project(":core")))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.rules
    
    import com.google.gson.Gson
    import com.google.gson.stream.JsonWriter
    import gradlebuild.binarycompatibility.AcceptedApiChange
    import gradlebuild.binarycompatibility.AcceptedApiChanges
    import gradlebuild.binarycompatibility.ApiChange
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top