Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for PropertyName (0.25 sec)

  1. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/TaskNodeCodec.kt

            writeNextProperty(propertyName, propertyValue, kind)
        }
    
        suspend fun writeInputProperty(propertyName: String, propertyValue: Any?) =
            writeProperty(propertyName, propertyValue, PropertyKind.InputProperty)
    
        suspend fun writeOutputProperty(propertyName: String, propertyValue: Any?) =
            writeProperty(propertyName, propertyValue, PropertyKind.OutputProperty)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ConventionAwareHelper.java

        }
    
        private MappedProperty map(String propertyName, MappedPropertyImpl mapping) {
            if (!_propertyNames.contains(propertyName)) {
                throw new InvalidUserDataException(
                    "You can't map a property that does not exist: propertyName=" + propertyName);
            }
    
            if (_ineligiblePropertyNames.contains(propertyName)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:53:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    
    fun Project.gradleProperty(propertyName: String) = providers.gradleProperty(propertyName)
    
    
    fun Project.systemProperty(propertyName: String) = providers.systemProperty(propertyName)
    
    
    fun Project.environmentVariable(propertyName: String) = providers.environmentVariable(propertyName)
    
    
    fun Project.propertyFromAnySource(propertyName: String) = gradleProperty(propertyName)
        .orElse(systemProperty(propertyName))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart2IntegrationTest.groovy

                solutions == [ 'Use type \'java.net.URI\' instead' ]
                additionalData.asMap == [
                    'typeName' : 'MyTask',
                    'propertyName' : 'direct',
                ]
            }
            verifyAll(receivedProblem(1)) {
                fqid == 'validation:property-validation:unsupported-value-type-for-input'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy

                    'Mark it as @Internal',
                ]
                additionalData.asMap == [
                    'parentPropertyName' : 'tree',
                    'typeName' : 'MyTask',
                    'propertyName' : 'nonAnnotated',
                ]
            }
    
        }
    
        def "task cannot have property with annotation @#ann.simpleName"() {
            javaTaskSource << """
                import org.gradle.api.*;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeAnnotatedMethodReader.java

            String propertyName = getPropertyName(method);
            Type originalType = extractOriginalType(method, annotation);
            String methodName;
            switch (accessorType) {
                case GETTER:
                    String capitalize = propertyName.substring(0, 1).toUpperCase(Locale.ROOT) + propertyName.substring(1);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/FunctionExtractor.kt

            }
            propertyNamesToCheck.forEach { propertyName ->
                val isPropertyLike =
                    preIndex.getAllProperties(returnClass).any { it.name == propertyName }
                if (isPropertyLike) {
                    val storeProperty = checkNotNull(preIndex.getProperty(returnClass, propertyName))
                    return ParameterSemanticsInternal.DefaultStoreValueInProperty(storeProperty)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

                        'Mark it as @Internal',
                    ]
                    additionalData.asMap == [
                        'typeName' : 'MyTask',
                        'propertyName' : 'badTime',
                    ]
                }
                verifyAll(receivedProblem(1)) {
                    fqid == 'validation:property-validation:missing-annotation'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

                        @get:Input
                        val propertyName: Property<String>
                    }
    
                    override fun obtain(): String? = parameters.run {
                        propertiesFile.get().asFile.takeIf { it.isFile }?.inputStream()?.use {
                            java.util.Properties().apply { load(it) }
                        }?.get(propertyName.get()) as String?
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ProblemReportingCrossProjectModelAccess.kt

                onProjectsCoupled()
    
                return withDelegateDynamicCallReportingConfigurationOrder(
                    propertyName,
                    action = { tryGetProperty(propertyName) },
                    resultNotFoundExceptionProvider = { getMissingProperty(propertyName) }
                )
            }
    
            override fun invokeMethod(name: String, args: Any): Any? {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 41.1K bytes
    - Viewed (0)
Back to top