Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,755 for Gson (0.04 sec)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateReleasedVersions.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.buildutils.tasks
    
    import com.google.gson.Gson
    import com.google.gson.GsonBuilder
    import gradlebuild.buildutils.model.ReleasedVersion
    import gradlebuild.buildutils.model.ReleasedVersions
    import org.gradle.api.DefaultTask
    import org.gradle.api.file.RegularFileProperty
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  2. 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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.buildutils.tasks
    
    import com.google.gson.Gson
    import org.gradle.api.DefaultTask
    import org.gradle.api.file.RegularFileProperty
    import org.gradle.api.provider.Property
    import org.gradle.api.tasks.Internal
    import org.gradle.api.tasks.options.Option
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. 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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. build-logic/build-update-utils/src/main/kotlin/gradlebuild.wrapper.gradle.kts

    import gradlebuild.basics.capitalize
    import com.google.gson.Gson
    import java.net.URI
    
    wrapperUpdateTask("nightly", "nightly")
    wrapperUpdateTask("rc", "release-candidate")
    wrapperUpdateTask("current", "current")
    
    tasks.withType<Wrapper>().configureEach {
        val jvmOpts = "-Dfile.encoding=UTF-8"
        inputs.property("jvmOpts", jvmOpts)
        doLast {
            val optsEnvVar = "DEFAULT_JVM_OPTS"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 17 08:58:33 UTC 2024
    - 1.4K 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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. 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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManager.groovy

     */
    
    package gradlebuild.binarycompatibility
    
    import com.google.gson.Gson
    import com.google.gson.stream.JsonWriter
    
    class AcceptedApiChangesJsonFileManager {
    
        void emptyAcceptedApiChanges(File jsonFile) {
            jsonFile.withWriter { fileWriter ->
                def writer = new JsonWriter(fileWriter)
                writer.setIndent("    ")
                new Gson().toJson([acceptedApiChanges: []], Object, writer)
                writer.close()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1K bytes
    - Viewed (0)
  9. 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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild.update-versions.gradle.kts

    import com.google.gson.Gson
    import gradlebuild.basics.releasedVersionsFile
    import gradlebuild.buildutils.model.ReleasedVersion
    import gradlebuild.buildutils.tasks.UpdateAgpVersions
    import gradlebuild.buildutils.tasks.UpdateKotlinVersions
    import gradlebuild.buildutils.tasks.UpdateReleasedVersions
    import java.net.URI
    
    
    tasks.named<UpdateDaemonJvm>("updateDaemonJvm") {
        jvmVersion = JavaLanguageVersion.of(17)
        jvmVendor = "adoptium"
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:33:20 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top