Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Tretter (0.49 sec)

  1. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/schemaFromProperties.kt

            return getters.map { (name, getter) ->
                checkNotNull(getter)
                val nameAfterGet = name.substringAfter("get")
                val propertyName = nameAfterGet.replaceFirstChar { it.lowercase(Locale.getDefault()) }
                val type = propertyValueType(getter.returnType).toDataTypeRefOrError()
                val isHidden = getter.annotations.any { it is HiddenInDeclarativeDsl }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/project/TypeSafeProjectAccessorsSchemaBuildingComponent.kt

        (property.returnType.classifier as? KClass<*>)?.isGeneratedAccessors() == true
    }
    
    
    private
    fun KClass<*>.isGeneratedAccessors() =
        // TODO: find a better way to filter the accessor types
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/PublishArtifactLocalArtifactMetadataCodec.kt

     *
     * A better change would be to split an immutable id type out of PublishArtifactLocalArtifactMetadata (or reuse one of the existing
     * implementations). However, the Eclipse tooling model builder assumes that the id and metadata objects are the same and also that
     * the metadata object provides access to the backing PublishArtifact. This makes the better change too large to undertake at this point,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/DependencyCollectorFunctionExtractorAndRuntimeResolver.kt

            val runtimeFunction: DeclarativeRuntimeFunction,
        )
    
        private
        sealed interface DependencyCollectorAccessor : (Any) -> DependencyCollector {
            data class Getter(val getterFunction: KFunction<*>) : DependencyCollectorAccessor {
                override fun invoke(receiver: Any): DependencyCollector = getterFunction.call(receiver) as DependencyCollector
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/schemaBuildingUtils.kt

            else -> false
        }
    
    
    val KCallable<*>.annotationsWithGetters: List<Annotation>
        get() = this.annotations + if (this is KProperty) this.getter.annotations else emptyList()
    
    
    fun KType.toDataTypeRefOrError() =
        toDataTypeRef() ?: error("failed to convert type $this to data type")
    
    
    private
    fun KType.toDataTypeRef(): DataTypeRef? = when {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. build-logic-commons/build-platform/build.gradle.kts

    val codenarcVersion = if (isGroovy4) "3.1.0-groovy-4.0" else "3.1.0"
    val spockVersion = if (isGroovy4) "2.2-groovy-4.0" else "2.2-groovy-3.0"
    val asmVersion = "9.7"
    // To try out better kotlin compilation avoidance and incremental compilation
    // with -Pkotlin.incremental.useClasspathSnapshot=true
    val kotlinVersion = providers.gradleProperty("buildKotlinVersion")
        .getOrElse(embeddedKotlinVersion)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/PropertyExtractor.kt

                val isDirectAccessOnly = getter.annotations.any { it is AccessFromCurrentReceiverOnly }
                val setter = functionsByName["set$nameAfterGet"]?.find { fn -> fn.parameters.singleOrNull { it != fn.instanceParameter }?.type == getter.returnType }
                val mode = run {
                    if (setter != null) DefaultPropertyMode.DefaultReadWrite else DefaultPropertyMode.DefaultReadOnly
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheClassLoaderScopeRegistryListener.kt

                require(spec != null)
                // TODO - a scope can currently potentially have multiple export and local ClassLoaders but we're assuming one here
                //  Rather than fix the assumption here, it would be better to rework the scope implementation so that it produces no more than one export and one local ClassLoader
                val local = scopeId is ClassLoaderScopeIdentifier && scopeId.localId() == classLoaderId
                if (local) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top