Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for withCustomBinaryType (0.17 sec)

  1. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/ComponentBinariesIntegrationTest.groovy

    @UnsupportedWithConfigurationCache(because = "software model")
    class ComponentBinariesIntegrationTest extends AbstractComponentModelIntegrationTest {
        def setup() {
            withCustomComponentType()
            withCustomBinaryType()
            withCustomLanguageType()
    
            buildFile << '''
    model {
        components {
            mylib(CustomComponent) {
                binaries {
                    main(CustomBinary)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/AbstractComponentModelIntegrationTest.groovy

                }
    
                apply type: ComponentTypeRules
            """
        }
    
        /**
         * Registers CustomBinary type
         */
        void withCustomBinaryType() {
            buildFile << """
                interface CustomBinary extends BinarySpec {
                    String getData()
                    void setData(String value)
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/ComponentBinarySourcesIntegrationTest.groovy

    @UnsupportedWithConfigurationCache(because = "software model")
    class ComponentBinarySourcesIntegrationTest extends AbstractComponentModelIntegrationTest {
        def setup() {
            withCustomComponentType()
            withCustomBinaryType()
            withCustomLanguageType()
    
            buildFile << '''
    model {
        components {
            mylib(CustomComponent) {
                binaries {
                    main(CustomBinary)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  4. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/ComponentModelIntegrationTest.groovy

                                someLang(CustomLanguageSourceSet)
                            }
                        }
                    }
                }
            """
        }
    
        void withBinaries() {
            withCustomBinaryType()
            buildFile << """
                class ComponentBinaryRules extends RuleSource {
                    @ComponentBinaries
                    void addBinaries(ModelMap<CustomBinary> binaries, CustomComponent component) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 20.4K bytes
    - Viewed (0)
Back to top