Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for members (0.24 sec)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

                $publicMembers
            }
        """
    
        @Test
        fun `added internal members are filtered from the comparison`() {
    
            checkBinaryCompatibleKotlin(
                v1 = existingSource,
                v2 = internalSource
            ).assertEmptyReport()
        }
    
        @Test
        fun `existing internal members made public appear as added`() {
    
            checkNotBinaryCompatibleKotlin(
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt

    // This file contains members that we should consider to pull upstream
    // and make available to all Kotlin DSL users
    package gradlebuild.basics.kotlindsl
    
    import org.gradle.api.Project
    import java.io.ByteArrayOutputStream
    import java.io.File
    
    
    /**
     * `dir / "sub"` is the same as `dir.resolve("sub")`.
     *
     * @see [File.resolve]
     */
    operator fun File.div(child: String): File =
        resolve(child)
    
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 933 bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            }
        }
    
        fun isSince(version: String, member: JApiCompatibility): (KtFile) -> Boolean = { ktFile ->
            val ctMember = member.newCtMember
            val ctDeclaringClass = ctMember.declaringClass
            when {
                ctMember is CtMethod && ctMember.isSynthetic -> true // synthetic members cannot have kdoc
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

            /** @since 2.0 */
            @Incubating
            operator fun String.invoke(p: String, block: String.() -> Unit) = Unit
    
        """
    
        @Test
        fun `new top-level kotlin members`() {
    
            checkNotBinaryCompatibleKotlin(
                v2 = """
    
               $publicKotlinMembers
    
                const val cathedral = "cathedral"
    
                """
            ) {
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  5. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

     *
     * @param asmLevel ASM level
     * @param outputDirectory the directory where the generated sources will be written
     * @param packageName the name of the package where the generated members will be added
     * @param sourceFilesBaseName the base name for generated source files
     * @param classPath the api classpath elements
     * @param classPathDependencies the api classpath dependencies
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 20 21:41:53 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

            val member: String?,
            val acceptation: String?,
            val changes: List<String>?
        ) {
            override fun toString(): String = "Type: '$type', Member: '$member'"
        }
    
        @VisibleForTesting
        data class AcceptedApiChanges(
            val acceptedApiChanges: List<AcceptedApiChange>?
        )
    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)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

        fun isSince(version: String, member: JApiCompatibility): JavaSourceQuery<Boolean> =
            member.jApiClass.simpleName.let { declaringClassSimpleName ->
                JavaSourceQuery(
                    false,
                    when (member) {
                        is JApiClass -> isSinceJavaClassVisitorFor(declaringClassSimpleName, version)
                        is JApiField -> isSinceJavaFieldVisitorFor(member, version)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt

    import org.gradle.api.tasks.TaskAction
    
    
    /**
     * This [Task][org.gradle.api.Task] checks that the contents of a given accepted API changes file
     * are present in alphabetical order (by type, then member), and throws an exception and reports
     * any changes that are not.
     */
    @CacheableTask
    abstract class AlphabeticalAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() {
        @TaskAction
        fun execute() {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 2K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

    import org.gradle.api.tasks.TaskAction
    
    
    /**
     * This [Task][org.gradle.api.Task] reorders the changes in an accepted API changes file
     * so that they are alphabetically sorted (by type, then member).
     */
    @CacheableTask
    abstract class SortAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() {
    
        @TaskAction
        fun execute() {
            val sortedChanges = sortChanges(loadChanges())
    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)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt

                """
                    {
                        "acceptedApiChanges": [
                            {
                                "type": "org.gradle.api.file.SourceDirectorySet",
                                "member": "Method org.gradle.api.file.SourceDirectorySet.getOutputDir()",
                                "acceptation": "Deprecated method removed",
                                "changes": [
    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)
Back to top