Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for someOption (0.36 sec)

  1. platforms/documentation/docs/src/snippets/kotlinDsl/sourceSetConvention/kotlin/build.gradle.kts

    plugins {
        java
    }
    
    interface CustomSourceSetConvention {
        val someOption: Property<String>
    }
    
    (sourceSets["main"].extensions as Convention).plugins["custom"] = objects.newInstance<CustomSourceSetConvention>()
    
    // tag::source-set-convention[]
    sourceSets {
        main {
            withConvention(CustomSourceSetConvention::class) {
                someOption = "some value"
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 419 bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/InstanceOptionDescriptorSpec.groovy

    import org.gradle.internal.reflect.JavaMethod
    import spock.lang.Specification
    
    class InstanceOptionDescriptorSpec extends Specification{
    
        OptionElement optionElement = optionElement("someOption")
    
        def testGetAvailableValuesWithNoDefaults() {
            given:
            optionElement.getAvailableValues() >> []
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 15:17:44 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/isolated/IsolationSchemeTest.groovy

    }
    
    class NoParams implements SomeAction<Nothing> {
    }
    
    class BaseParams implements SomeAction<SomeParams> {
    }
    
    class RawActionType implements SomeAction {
    }
    
    class ComplexParameterizedType<A extends CustomParamsWithType<?>, B extends A, C extends B> implements SomeAction<C> {
    }
    
    class ParameterizedType<T extends CustomParams> implements SomeAction<T> {
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 19:49:52 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top