Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buildWithCustomBinaryPlugin (0.23 sec)

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

            succeeds "checkModel"
        }
    
        def "creates lifecycle task per binary"() {
            when:
            buildWithCustomBinaryPlugin()
            then:
            succeeds "sampleBinary"
        }
    
        def "additional managed binaries listed in components report"() {
            given:
            buildWithCustomBinaryPlugin()
            when:
            succeeds "components"
            then:
            output.contains """> Task :components
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomBinaryIntegrationTest.groovy

        String getVersion()
        void setVersion(String version)
    }
    """
        }
    
        def "custom binary type can be registered and created"() {
            when:
            buildWithCustomBinaryPlugin()
    
            and:
            buildFile << '''
    model {
        tasks {
            checkModel(Task) {
                doLast {
                    def binaries = $.binaries
                    assert binaries.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 11K bytes
    - Viewed (0)
Back to top