- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for type (0.55 sec)
-
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) -
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) -
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) -
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) -
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) -
.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 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 10:49:15 GMT 2024 - 13K bytes - Viewed (0) -
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) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt
import org.gradle.api.tasks.CacheableTask 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) -
build-logic/build-init-samples/src/main/kotlin/gradlebuild/generate-samples.gradle.kts
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 3.3K bytes - Viewed (0) -
.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 01 11:36:15 GMT 2024 - Last Modified: Tue Feb 13 14:18:23 GMT 2024 - 13.4K bytes - Viewed (0)