Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for buildLogic (0.38 sec)

  1. platforms/core-configuration/configuration-problems-base/src/main/kotlin/org/gradle/internal/configuration/problems/DefaultProblemFactory.kt

                PropertyTrace.BuildLogic(location.sourceShortDisplayName, location.lineNumber)
            } else {
                locationForCaller(consumer, diagnostics.source)
            }
        }
    
        private
        fun locationForCaller(consumer: String?, source: UserCodeSource?): PropertyTrace {
            return if (source != null) {
                PropertyTrace.BuildLogic(source.displayName, null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/initialization/AbstractInjectedClasspathInstrumentationStrategy.kt

                // So, disable or fail or whatever based on which execution modes are enabled
                whenThirdPartyAgentPresent()
            } else {
                CachedClasspathTransformer.StandardTransform.BuildLogic
            }
        }
    
        abstract fun whenThirdPartyAgentPresent(): CachedClasspathTransformer.StandardTransform
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-problems-base/src/main/kotlin/org/gradle/internal/configuration/problems/PropertyProblem.kt

                fragments.addAll(message.fragments)
            }
        }
    }
    
    
    sealed class PropertyTrace {
    
        object Unknown : PropertyTrace()
    
        object Gradle : PropertyTrace()
    
        class BuildLogic(
            val source: DisplayName,
            val lineNumber: Int? = null
        ) : PropertyTrace()
    
        class BuildLogicClass(
            val name: String
        ) : PropertyTrace()
    
        class Task(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 21:59:50 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/initialization/ConfigurationCacheInjectedClasspathInstrumentationStrategy.kt

                    documentationSection = DocumentationSection.NotYetImplementedTestKitJavaAgent
                )
            )
            return CachedClasspathTransformer.StandardTransform.BuildLogic
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriter.kt

                    property("kind", "Project")
                    comma()
                    property("path", trace.path)
                }
    
                is PropertyTrace.BuildLogic -> {
                    property("kind", "BuildLogic")
                    comma()
                    property("location", trace.source.displayName)
                }
    
                is PropertyTrace.BuildLogicClass -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/classpath/CachedClasspathTransformer.java

     */
    @ServiceScope(Scope.UserHome.class)
    public interface CachedClasspathTransformer {
        enum StandardTransform {
            BuildLogic, None
        }
    
        /**
         * Transforms a classpath to a classpath with the given transformations applied.
         */
        ClassPath transform(ClassPath classPath, StandardTransform transform);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblemsSummaryTest.kt

                summary.problemCount,
                equalTo(3)
            )
        }
    
        private
        fun buildLogicProblem(location: String, message: String) = PropertyProblem(
            PropertyTrace.BuildLogic(Describables.of(location), 1),
            StructuredMessage.build { text(message) }
        )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultBuildLogicBuildQueue.java

            } finally {
                lock.unlock();
            }
        }
    
        private FileLock lockBuildLogicQueueFile() {
            return fileLockManager.lock(
                new File(projectCacheDir.getDir(), "noVersion/buildLogic"),
                mode(FileLockManager.LockMode.Exclusive),
                "build logic queue"
            );
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 16 23:00:15 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/KotlinApplicationInitIntegrationTest.groovy

            then:
            subprojectDir.file("build.gradle.kts").assertExists()
    
            and:
            targetDir.file("/buildSrc/src/main/kotlin/buildlogic.kotlin-common-conventions.gradle.kts").assertContents(containsString("junit.jupiter"))
    
            when:
            run("build")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/use/resolve/service/internal/DefaultInjectedClasspathPluginResolver.java

            switch (transform) {
                case None:
                    return Lazy.locking().of(this::createUninstrumentedPluginRegistry);
                case BuildLogic:
                    return Lazy.locking().of(() -> createInstrumentedPluginRegistry(dependencyResolutionServicesFactory));
                default:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:19:55 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top