Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for PropertyValue (0.35 sec)

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

        }
    
        suspend fun writeInputProperty(propertyName: String, propertyValue: Any?) =
            writeProperty(propertyName, propertyValue, PropertyKind.InputProperty)
    
        suspend fun writeOutputProperty(propertyName: String, propertyValue: Any?) =
            writeProperty(propertyName, propertyValue, PropertyKind.OutputProperty)
    
        val inputProperties = collectRegisteredInputsOf(task)
    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/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/SystemPropertiesCompositeBuildFixture.groovy

            String propertyValue()
        }
    
        static class RootBuild implements BuildWithSystemPropertyDefined {
    
            @Override
            void setup(AbstractIntegrationSpec spec, String propertyKey) {
                spec.testDirectory.file("gradle.properties") << "systemProp.$propertyKey=${propertyValue()}"
            }
    
            @Override
            String propertyValue() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/AddSoftwareTypesAsExtensionsPluginTargetTest.groovy

        def "adds software types as extensions when software type plugin is applied"() {
            def plugin = Mock(Plugin)
            def propertyWalker = Mock(PropertyWalker)
            def propertyValue = Mock(PropertyValue)
            def softwareType = Mock(SoftwareType)
            def extensions = Mock(ExtensionContainerInternal)
            def foo = new Foo()
    
            when:
            pluginTarget.applyImperative(null, plugin)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/PropertyVisitor.java

        default void visitInputProperty(String propertyName, PropertyValue value, boolean optional) {}
    
        default void visitOutputFileProperty(String propertyName, boolean optional, PropertyValue value, OutputFilePropertyType filePropertyType) {}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:21 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/TestProjects.groovy

        }
    
        private static void verifyGradlePropertiesSettingSpecified(Properties gradleProperties, String propertyName) {
            def propertyValue = gradleProperties.getProperty(propertyName)
            if (propertyValue == null || propertyValue.isEmpty()) {
                throw new IllegalArgumentException("Test project needs to specify ${propertyName} but did not.")
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/EnumBuildOption.java

        }
    
        @Override
        public void applyFromProperty(Map<String, String> properties, T settings) {
            OptionValue<String> propertyValue = getFromProperties(properties);
            String value = propertyValue.getValue();
            if (value != null) {
                applyTo(value, settings, propertyValue.getOrigin());
            }
        }
    
        @Override
        public void configure(CommandLineParser parser) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:39 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Contexts.kt

        }
    
        override fun <T : Any> getSingletonProperty(propertyType: Class<T>): T {
            val propertyValue = singletonProperty
            require(propertyValue != null && propertyType.isInstance(propertyValue)) {
                "A singleton property of type $propertyType has not been registered!"
            }
            return propertyValue.uncheckedCast()
        }
    
        override fun newIsolate(owner: IsolateOwner): ReadIsolate =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/IntegerBuildOption.java

    
        @Override
        public void applyFromProperty(Map<String, String> properties, T settings) {
            OptionValue<String> propertyValue = getFromProperties(properties);
            String value = propertyValue.getValue();
            if (value != null) {
                applyTo(Integer.parseInt(value), settings, propertyValue.getOrigin());
            }
        }
    
        @Override
        public void configure(CommandLineParser parser) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 11:25:33 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/PropertyAnnotationHandler.java

     * limitations under the License.
     */
    package org.gradle.internal.properties.annotations;
    
    import com.google.common.collect.ImmutableSet;
    import org.gradle.internal.properties.PropertyValue;
    import org.gradle.internal.properties.PropertyVisitor;
    import org.gradle.internal.reflect.validation.TypeValidationContext;
    import org.gradle.internal.service.scopes.Scope;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/BooleanBuildOption.java

        }
    
        @Override
        public void applyFromProperty(Map<String, String> properties, T settings) {
            OptionValue<String> propertyValue = getFromProperties(properties);
            String value = propertyValue.getValue();
            if (value != null) {
                applyTo(isTrue(value), settings, propertyValue.getOrigin());
            }
        }
    
        @Override
        public void configure(CommandLineParser parser) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 11:25:33 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top