Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 37 of 37 for accepts (0.14 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

            } catch (FileNotFoundException e) {
                throw new UncheckedIOException(e);
            }
        }
    
        /**
         * Automatically accept changes that are valid property upgrades of a getter or setter.
         *
         * Here we automatically accept the following cases:
         * - A setter `setX` of an upgraded property is removed
         * - A boolean `isX` of an upgraded property is removed
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                    removed("Method", "Task.setSourceCompatibility(java.lang.String)"),
                )
            }
        }
    
        @Test
        fun `should automatically accept binary incompatibilities for upgraded properties`() {
            checkBinaryCompatible(
                v1 = {
                    withFile(
                        "java/com/example/Task.java",
                        """
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

                }
                content {
                    includeModule('gradle', 'gradle')
                }
            }
        }
    }
    
    def apiChangesJsonFile = layout.projectDirectory.file("src/changes/accepted-public-api-changes.json")
    def acceptedViolations = AcceptedApiChanges.parse(providers.fileContents(apiChangesJsonFile).asText.get())
    def compatibilityBaselineVersion = moduleIdentity.releasedVersions.get().mostRecentRelease.version
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 12:20:44 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

            openJavaCompilationUnitsByFile
                .computeIfAbsent(apiSourceFile.currentFile) { JavaParser().parse(it).getResult().get() }
                .accept(query.visitor, null)
                ?: query.defaultValue
    
    
        fun <T : Any?> executeQuery(apiSourceFile: ApiSourceFile.Kotlin, transform: (KtFile) -> T): T =
            apiSourceFile.normalizedPath.let { sourceNormalizedPath ->
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Feb 20 16:37:41 GMT 2023
    - 4K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

                            val details = classes[reader.className]
                            details.visited = true
                            val classWriter = ClassWriter(0)
                            reader.accept(
                                ClassRemapper(
                                    classWriter,
                                    object : Remapper() {
                                        override fun map(name: String): String {
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  6. .cm/plugins/filters/byCodeowner/index.js

     * @description Groups the PR's files' by owner based on the CODEOWNERs file.
     * @param {string[]} files - the gitStream's files context variable
     * @param {Object} pr - the gitStream's pr context variable
     * @param {string} token - access token with repo:read scope, used to read the CODEOWNERS file
     * @param {string} pathToCodeOwners - path from repo root to CODEOWNERS file
     * @returns {Map} - Map from owner name to list of files they own
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 19:12:32 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

    import java.util.jar.JarFile
    
    
    private
    typealias ClassBytesSupplier = () -> ByteArray
    
    
    private
    typealias ClassBytesIndex = (String) -> ClassBytesSupplier?
    
    
    /**
     * Repository providing access to class bytes by Kotlin source names.
     *
     * Follows the one directory per package name segment convention.
     * Keeps JAR files open for fast lookup, must be closed.
     *
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 6.1K bytes
    - Viewed (0)
Back to top