Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for pluginClasspath (0.23 sec)

  1. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/PluginUnderTestMetadataIntegrationTest.groovy

                    pluginClasspath.setFrom(sourceSets.main.runtimeClasspath)
                    outputDirectory = file('build/some/other')
                }
            """
    
            when:
            succeeds TASK_NAME
    
            then:
            file("build/some/other/$METADATA_FILE_NAME").exists()
        }
    
        def "not up-to-date if pluginClasspath change"() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerPluginClasspathInjectionEndUserIntegrationTest.groovy

                    File buildFile
                    List<File> pluginClasspath
    
                    def setup() {
                        new File(testProjectDir, 'settings.gradle') << "rootProject.name = 'test'"
                        buildFile = new File(testProjectDir, 'build.gradle')
                        pluginClasspath = getClass().classLoader.getResource("plugin-classpath.txt")
                          .readLines()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsTestKitInjectedJavaPluginIntegrationTest.groovy

            testKitDir = file("test-kit")
            def executer = new TestKitBackedGradleExecuter(distribution, temporaryFolder, getBuildContext(), testKitDir)
            jar = file("plugins/sneaky.jar")
            executer.pluginClasspath.add(jar)
            return executer
        }
    
        def cleanup() {
            DaemonLogsAnalyzer.newAnalyzer(testKitDir.file(ToolingApiGradleExecutor.TEST_KIT_DAEMON_DIR_NAME)).killAll()
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. platforms/extensibility/test-kit/src/test/groovy/org/gradle/testkit/runner/internal/DefaultGradleRunnerTest.groovy

            runner.pluginClasspath == originalClasspath
    
            when:
            originalArguments << 'arg5'
            originalJvmArguments << 'arg6'
            originalClasspath << new File('file:///Users/foo/bar/other.jar')
    
            then:
            runner.arguments == ['arg1', 'arg2']
            runner.jvmArguments == ['arg3', 'arg4']
            runner.pluginClasspath == [new File('/Users/foo/bar/test.jar').absoluteFile]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/PluginUnderTestMetadata.java

        private final ConfigurableFileCollection pluginClasspath = getProject().files();
        private final DirectoryProperty outputDirectory = getProject().getObjects().directoryProperty();
    
        /**
         * The code under test. Defaults to {@code sourceSets.main.runtimeClasspath}.
         */
        @Classpath
        public ConfigurableFileCollection getPluginClasspath() {
            return pluginClasspath;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/plugins/JavaGradlePluginPlugin.java

                project.getTasks().withType(Test.class).configureEach(test -> {
                    test.getInputs()
                        .files(pluginClasspathTask.get().getPluginClasspath())
                        .withPropertyName("pluginClasspath")
                        .withNormalizer(ClasspathNormalizer.class);
    
                    test.getJvmArgumentProviders().add(new AddOpensCommandLineArgumentProvider(test));
                });
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 06:56:29 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  7. build-logic/packaging/src/main/kotlin/gradlebuild/packaging/tasks/PluginsManifest.kt

        abstract val coreClasspath: ConfigurableFileCollection
    
        @Input
        val core = coreClasspath.toGradleModuleNameProvider()
    
        @get:Internal
        abstract val pluginsClasspath: ConfigurableFileCollection
    
        @Input
        val plugins = pluginsClasspath.toGradleModuleNameProvider()
    
        @get:OutputFile
        abstract val manifestFile: RegularFileProperty
    
        @TaskAction
        fun generate() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  8. build-logic/packaging/src/main/kotlin/gradlebuild.distributions.gradle.kts

    fun pluginsManifestTask(runtimeClasspath: Configuration, coreRuntimeClasspath: Configuration, api: GradleModuleApiAttribute) =
        tasks.registering(PluginsManifest::class) {
            pluginsClasspath.from(
                runtimeClasspath.incoming.artifactView {
                    lenient(true)
                    attributes.attribute(GradleModuleApiAttribute.attribute, api)
                }.files
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top