Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 225 for BuildSrc (0.14 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/DefaultExcludesFixture.groovy

                return "included-by-buildSrc.txt"
            }
    
            @Override
            String excludedFileName() {
                return "excluded-by-buildSrc.txt"
            }
    
            @Override
            void applyDefaultExcludes(AbstractIntegrationSpec spec, ScriptLanguage scriptLanguage) {
                TestFile buildSrcDir = spec.testDirectory.file("buildSrc")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInTransformIntegrationTest.groovy

                    "resolveProviders"
                ]
            ].combinations()
        }
    
        def "using #snippetsFactory.summary in transform action with #task of buildSrc build is not a problem"(SnippetsFactory snippetsFactory, String task) {
            given:
            createDir("buildSrc") {
                getTransformFixture(snippetsFactory.newSnippets(execOperationsFixture)).tap {
                    withTransformPlugin(dir("transform-plugin"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractConsoleBuildSrcGroupedTaskFunctionalTest.groovy

        private static final String HELLO_WORLD_MESSAGE = 'Hello world'
        private static final String BYE_WORLD_MESSAGE = 'Bye world'
    
        def "can group task output in buildSrc"() {
            file('buildSrc/build.gradle') << """
                task helloWorld {
                    doLast {
                        logger.quiet '$HELLO_WORLD_MESSAGE'
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInDynamicGroovyIntegrationTest.groovy

        def "#method is instrumented in dynamic Groovy #indyStatus"() {
            def configurationCache = newConfigurationCacheFixture()
    
            given:
            file("buildSrc/src/main/groovy/SomePlugin.groovy") << """
                import ${Plugin.name}
                import ${Project.name}
                import static ${System.name}.clearProperty
                import static ${System.name}.getProperties
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiCompositeBuildsIntegrationTest.groovy

    package org.gradle.internal.cc.impl.isolated
    
    class IsolatedProjectsToolingApiCompositeBuildsIntegrationTest extends AbstractIsolatedProjectsToolingApiIntegrationTest {
    
        def "invalidates cached state when plugin in buildSrc changes"() {
            given:
            withSomeToolingModelBuilderPluginInBuildSrc()
            settingsFile << """
                include("a")
                include("b")
            """
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PluginSpecBuilderAccessorsIntegrationTest.kt

        @Requires(IntegTestPreconditions.NotEmbeddedExecutor::class)
        @LeaksFileHandles("Kotlin Compiler Daemon working directory")
        fun `can use accessors for plugins in the buildSrc classpath`() {
    
            withKotlinBuildSrc()
            withFile(
                "buildSrc/src/main/kotlin/my/plugin-a.gradle.kts",
                """
                package my
                println("*my.plugin-a*")
                """
            )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 27 20:13:32 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/initialization/buildsrc/BuildSrcBuildListenerFactory.java

            return new Listener(buildSrcRootProjectConfiguration, resolver);
        }
    
        /**
         * Inspects the build when configured, and adds the appropriate task to build the "main" `buildSrc` component.
         * On build completion, makes the runtime classpath of the main `buildSrc` component available.
         */
        public static class Listener extends InternalBuildAdapter implements EntryTaskSelector {
            private Configuration classpathConfiguration;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 08:02:27 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorProblemsApiIntegrationTest.groovy

            file('buildSrc/build.gradle') << """
                plugins {
                    id 'java'
                }
    
                dependencies {
                    implementation(gradleApi())
                }
    
                tasks.withType(JavaCompile) {
                    ${javaVersion == null ? '' : forkingOptions(javaVersion)}
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/TestProjectGenerator.groovy

        }
    
        /**
         * This is just to ensure we test the overhead of having a buildSrc project, e.g. snapshotting the Gradle API.
         */
        private addDummyBuildSrcProject(File projectDir) {
            file projectDir, "buildSrc/src/main/${config.language.name}/Thing.${config.language.name}", "public class Thing {}"
            file projectDir, "buildSrc/build.gradle", "compileJava.options.incremental = true"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/initialization/buildsrc/BuildSrcBuildListenerFactoryTest.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.initialization.buildsrc
    
    import org.gradle.api.Action
    import org.gradle.api.internal.GradleInternal
    import org.gradle.api.internal.StartParameterInternal
    import org.gradle.api.internal.initialization.DefaultScriptClassPathResolver
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top