Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 354 for Private (0.07 seconds)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/ReproduciblePropertiesWriter.kt

             */
            fun store(properties: Properties, file: File, comment: String? = null) {
                PropertiesUtils.store(properties, file, comment, Charsets.ISO_8859_1, "\n")
            }
    
            private
            fun propertiesFrom(data: Map<String, Any>): Properties = Properties().apply {
                putAll(data.map { (key, value) -> key to value.toString() })
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1.6K bytes
    - Click Count (0)
  2. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt

            val gradleVersion: Property<String>
            val homeDir: DirectoryProperty
        }
    
        @get:Inject
        abstract val fileSystemOperations: FileSystemOperations
    
        private
        var hasCleaned = false
    
        val logger = Logging.getLogger(CachesCleaner::class.java)
    
        fun cleanUpCaches() {
            synchronized(this) {
                if (hasCleaned) {
                    return
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 4.2K bytes
    - Click Count (1)
  3. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginEntry.kt

            }.toList()
        }
    } catch (cause: IOException) {
        throw IllegalArgumentException(
            "Failed to extract plugin metadata from '" + jar.path + "'",
            cause
        )
    }
    
    
    private
    fun isGradlePluginPropertiesFile(entry: JarEntry) = entry.run {
        !isDirectory && name.run { startsWith("META-INF/gradle-plugins/") && endsWith(".properties") }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocRenderer.java

    import org.w3c.dom.Element;
    
    import java.util.ArrayList;
    import java.util.List;
    
    public class ClassDocRenderer {
        private final GenerationListener listener = new DefaultGenerationListener();
        private final ClassDescriptionRenderer descriptionRenderer = new ClassDescriptionRenderer();
        private final List<ClassDocMemberRenderer> memberRenderers = new ArrayList<ClassDocMemberRenderer>();
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Click Count (0)
  5. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentService.kt

        @get:Inject
        abstract val providers: ProviderFactory
    
        val gitCommitId = git("rev-parse", "HEAD")
        val gitBranch = git("rev-parse", "--abbrev-ref", "HEAD")
    
        @Suppress("UnstableApiUsage")
        private
        fun git(vararg args: String): Provider<String> {
            val projectDir = parameters.rootProjectDir.asFile.get()
            val execOutput = providers.exec {
                workingDir = projectDir
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jul 26 10:02:49 GMT 2024
    - 2K bytes
    - Click Count (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

         * rely on the class node analysis since it doesn't give the right superclass because
         * resolution is not complete when this visitor is executed.
         */
        private
        fun isIntegrationTest(current: ClassNode) = current.name.endsWith("Test")
            || current.name.endsWith("Spec")
    
        override fun shouldVisitMethod(node: MethodNode): Boolean = isIntegrationTest(node.declaringClass)
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt

            if (value == null) throw annotationMemberValueNotFound(typeOf<Array<String>>())
            return value!!
        }
    
    
    private
    fun <T> annotationMemberValueNotFound(type: TypeOf<T>) =
        IllegalStateException("Annotation member value '${type.simpleName}' not found")
    
    
    private
    open class MemberValueVisitorAdapter : MemberValueVisitor {
        override fun visitStringMemberValue(node: StringMemberValue) = Unit
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.6K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy

                }
                return acceptOrReject(member, changes, Violation.error(member, "Breaking Kotlin modifier change"))
            }
    
            return null
        }
    
        private static String modifierChangeDetail(String modifier, boolean added) {
            return "$modifier modifier was ${added ? "added" : "removed"}"
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.4K bytes
    - Click Count (0)
  9. build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java

         * rely on the class node analysis since it doesn't give the right superclass because
         * resolution is not complete when this visitor is executed.
         */
        private boolean isIntegrationTest(ClassNode current) {
            return current.getName().endsWith("Test") || current.getName().endsWith("Spec");
        }
    
        @Override
        protected boolean shouldVisitMethod(MethodNode node) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.9K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ExtensionBlocksSummaryRenderer.java

    package gradlebuild.docs.dsl.docbook;
    
    import gradlebuild.docs.dsl.docbook.model.ClassExtensionDoc;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    
    public class ExtensionBlocksSummaryRenderer {
        private final BlockTableRenderer blockTableRenderer;
    
        public ExtensionBlocksSummaryRenderer(BlockTableRenderer blockTableRenderer) {
            this.blockTableRenderer = blockTableRenderer;
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Click Count (0)
Back to Top