Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for incubating (0.38 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/IncubatingApiReportAggregationWorkAction.kt

        fun toCategory(version: String, gradleModule: String) = when {
            gradleModule.endsWith("-native") || gradleModule in listOf("model-core", "platform-base", "testing-base") -> "Software Model and Native"
            else -> "Incubating since $version"
        }
    
        private
        fun generateReport(data: Map<String, ReportNameToProblems>) {
            val outputFile = parameters.htmlReportFile.get().asFile
            outputFile.parentFile.mkdirs()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 18 06:55:55 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/PropertyDoc.groovy

            return metaData
        }
    
        boolean isDeprecated() {
            return metaData.deprecated && !referringClass.deprecated
        }
    
        boolean isIncubating() {
            return metaData.incubating || metaData.ownerClass.incubating
        }
    
        boolean isReplaced() {
            return metaData.replaced
        }
    
        @Override
        String getReplacement() {
            return metaData.replacement
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/ClassMetaDataTest.groovy

            deprecated.deprecated
        }
    
        def "is incubating when @Incubating annotation is attached to class"() {
            def notIncubating = new ClassMetaData("SomeClass")
            def incubating = new ClassMetaData("SomeClass")
            incubating.addAnnotationTypeName("org.gradle.api.Incubating")
    
            expect:
            !notIncubating.incubating
            incubating.incubating
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  5. 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)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/PropertyMetaDataTest.groovy

        }
    
        def "is incubating when @Incubating is attached to property"() {
            def notIncubating = new PropertyMetaData('param', classMetaData)
            def incubating = new PropertyMetaData('param', classMetaData)
            incubating.addAnnotationTypeName("org.gradle.api.Incubating")
    
            expect:
            !notIncubating.incubating
            incubating.incubating
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy

            deprecated.deprecated
        }
    
        def "is incubating when @Incubating is attached to method"() {
            def notIncubating = new MethodMetaData('param', owner)
            def incubating = new MethodMetaData('param', owner)
            incubating.addAnnotationTypeName("org.gradle.api.Incubating")
    
            expect:
            !notIncubating.incubating
            incubating.incubating
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.6K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy

        }
    
        private boolean addedInterfaceIsIncubatingOrInternal(CtClass interf, CtClass c) {
            return (isIncubating(interf) && !isIncubating(c)) || isInternal(interf)
        }
    
        private boolean isIncubating(CtClass c) {
            return c.annotations.any { it.annotationType().name == 'org.gradle.api.Incubating' }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  9. 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)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NewIncubatingAPIRule.java

                if (!isIncubating((JApiHasAnnotations) member)) {
                    return null;
                }
                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