Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for type (0.14 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

            val type: String?,
            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)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt

            //language=JSON
            acceptedApiChangesFile.writeText(
                """
                    {
                        "acceptedApiChanges": [
                            {
                                "type": "org.gradle.api.file.SourceDirectorySet",
                                "member": "Method org.gradle.api.file.SourceDirectorySet.getOutputDir()",
                                "acceptation": "Deprecated method removed",
    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)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt

    import org.gradle.api.tasks.CacheableTask
    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
    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)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            return name.startsWith("kotlin.jvm.functions.Function")
        }
    
        val ktTypeRawName = ktTypeAsText
            .trimEnd('?') // nullability is not part of JVM types
            .substringBefore('<') // generics are not part of parameter types in JVM method signatures
    
        val thisTypeAsKt = primitiveTypeStrings[name] ?: name
        return thisTypeAsKt.endsWith(ktTypeRawName)
    }
    
    
    private
    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)
  5. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

        val type: ApiType? = null,
        val variance: Variance = Variance.INVARIANT,
        val typeArguments: List<ApiTypeUsage> = emptyList(),
        val bounds: List<ApiTypeUsage> = emptyList()
    ) {
        /**
         * Type usage is raw if type has no type parameters or if usage has no type arguments.
         */
        internal
        val isRaw: Boolean
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  6. .teamcity/src/test/kotlin/PromotionProjectTests.kt

            val steps = sanityCheck.steps.items
            val gradleBuildStep = gradleStep(steps, 0)
            gradleBuildStep.assertTasks("tasks")
        }
    
        @Test
        fun `nightly promotion build type runs three gradle invocations`() {
            val model = setupModelFor("release")
            val nightlySnapshot = model.findBuildTypeByName("Nightly Snapshot")
    
            val steps = nightlySnapshot.steps.items
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Feb 13 14:18:23 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/DocsTest.kt

    import model.CIBuildModel
    import model.Stage
    
    enum class TestSplitType(val action: String) {
        INCLUDE("include"), EXCLUDE("exclude")
    }
    
    fun prepareTestClassesStep(os: Os, type: TestSplitType, testClasses: List<String>): BuildSteps.() -> Unit {
        val action = type.action
        val unixScript = """
    mkdir -p test-splits
    rm -rf test-splits/*-test-classes.properties
    cat > test-splits/$action-test-classes.properties << EOL
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

                        is JApiMethod -> isSinceJavaMethodVisitorFor(declaringClassSimpleName, member, version)
                        else -> throw IllegalStateException("Unsupported japicmp member type ${member::class}")
                    }
                )
            }
    }
    
    
    private
    val MethodDeclaration.hasOverrideAnnotation: Boolean
    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)
  9. .teamcity/src/main/kotlin/common/extensions.kt

            enablePullRequestFeature()
        }
    
        requirements {
            requiresOs(os)
            requiresArch(os, arch)
        }
    
        failureConditions {
            if (this@applyDefaultSettings.type != BuildTypeSettings.Type.COMPOSITE) {
                executionTimeoutMin = timeout
            }
            testFailure = false
            supportTestRetry = true
            add {
                failOnText {
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JApiCmpExtensions.kt

        get() = when (this) {
            is JApiClass -> this
            is JApiField -> this.getjApiClass()
            is JApiBehavior -> this.getjApiClass()
            else -> throw IllegalStateException("Unsupported japicmp member type '${this::class}'")
        }
    
    
    internal
    val JApiClass.isKotlin: Boolean
        get() = newClass.orNull()?.isKotlin ?: false
    
    
    internal
    val JApiClass.simpleName: String
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.5K bytes
    - Viewed (0)
Back to top