Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Incubating (0.13 sec)

  1. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

    import org.gradle.api.Incubating
    
    class IncubatingInternalInterfaceAddedRuleTest extends AbstractContextAwareRuleSpecification {
        IncubatingInternalInterfaceAddedRule rule
    
        static class OldSuper {}
    
        static class OldBase extends OldSuper {}
    
        static class NewSuper {}
    
        static class NewBase extends NewSuper {}
    
        @Incubating
        static class NewIncubatingBase extends NewSuper {}
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 4K bytes
    - Viewed (0)
  2. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

            var incubating = "${declaration.typeParametersString}${declaration.fullyQualifiedName}"
            if (declaration is KtCallableDeclaration) {
                incubating += declaration.valueParametersString
                declaration.receiverTypeString?.let { receiver ->
                    incubating += " with $receiver receiver"
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                v2 = """
    
                /** @since 2.0 */
                @Incubating
                interface Foo
    
                /** @since 2.0 */
                @Incubating
                class Bar
    
                /** @since 2.0 */
                @Incubating
                enum class Bazar
    
                /** @since 2.0 */
                @Incubating
                object Cathedral
    
                """
            ) {
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

    import me.champeau.gradle.japicmp.report.AbstractContextAwareViolationRule
    import me.champeau.gradle.japicmp.report.Severity
    import me.champeau.gradle.japicmp.report.ViolationCheckContext
    import org.gradle.api.Incubating
    import spock.lang.Specification
    import spock.lang.TempDir
    
    import javax.inject.Inject
    
    class PublicAPIRulesTest extends Specification {
        private final static String TEST_INTERFACE_NAME = 'org.gradle.api.ApiTest'
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesTest.groovy

                            "member": "Implemented interface org.gradle.api.initialization.IncludedBuild",
                            "changes": ["Interface has been removed"],
                            "acceptation": "@Incubating interface has been removed"
                        }
                    ]
                }
            """])
    
            then:
            changes.acceptedChanges.size() == 1
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            fun newApi(thing: String, desc: String): String =
                "$thing ${describe(thing, desc)}: New public API in 2.0 (@Incubating)"
    
            fun added(thing: String, desc: String): List<String> =
                listOf(
                    "$thing ${describe(thing, desc)}: Is not annotated with @Incubating.",
                    "$thing ${describe(thing, desc)}: Is not annotated with @since 2.0."
                )
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report-aggregation.gradle.kts

        reports.from(resolver("txt"))
        htmlReportFile = project.layout.buildDirectory.file("reports/incubation/all-incubating.html")
    }
    
    tasks.register<Zip>("allIncubationReportsZip") {
        group = "verification"
        destinationDirectory = layout.buildDirectory.dir("reports/incubation")
        archiveBaseName = "incubating-apis"
        from(allIncubationReports.get().htmlReportFile)
        from(resolver("html"))
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                    "Method com.example.TaskInterface.getFailOnError(): Is not annotated with @since 2.0. Reason for accepting this: Upgraded property" to listOf("Method added to interface"),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy

            if (changes.isEmpty()) {
                return null
            }
            return acceptOrReject(c, changes, Violation.error(c, " introduces internal or incubating interfaces"))
        }
    
        private Map<String, CtClass> collectImplementedInterfaces(CtClass c) {
            Map<String, CtClass> result = [:]
            collect(result, c)
            return result
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NewIncubatingAPIRule.java

                if (member instanceof JApiMethod && isOverride((JApiMethod) member)) {
                    return null;
                }
                return Violation.info(member, "New public API in " + getCurrentVersion() + " (@Incubating)");
            }
            return null;
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 1.6K bytes
    - Viewed (0)
Back to top