Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 362 for CLASSPATH (0.21 sec)

  1. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerPluginClasspathInjectionIntegrationTest.groovy

        def "empty classpath is treated as no injected classpath"() {
            when:
            buildScript plugin.useDeclaration
            def result = runner()
                .withPluginClasspath([])
                .buildAndFail()
    
            then:
            !execFailure(result).error.contains("Gradle TestKit (classpath:")
        }
    
        def "injected classpath is indicated in error message if plugin not found"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 15 03:45:31 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/classpath/transforms/ClasspathElementTransformTest.groovy

    import org.gradle.internal.classpath.ClasspathWalker
    import org.gradle.internal.classpath.DefaultClasspathBuilder
    import org.gradle.internal.classpath.SystemPropertyAccessingThing
    import org.gradle.internal.classpath.types.GradleCoreInstrumentationTypeRegistry
    import org.gradle.internal.hash.Hasher
    import org.gradle.test.fixtures.archive.JarTestFixture
    import org.gradle.test.fixtures.file.TestFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 14 09:24:02 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/normalization/ConfigureRuntimeClasspathNormalizationIntegrationTest.groovy

                        class CustomTask extends DefaultTask {
                            @OutputFile File outputFile = new File(temporaryDir, "output.txt")
                            @Classpath FileCollection classpath = project.layout.files("classpath/dirEntry", "library.jar")
    
                            @TaskAction void generate() {
                                outputFile.text = "done"
                            }
                        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/JavaExec.java

         */
        @Override
        public void setBootstrapClasspath(FileCollection classpath) {
            javaExecSpec.setBootstrapClasspath(classpath);
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        public JavaExec bootstrapClasspath(Object... classpath) {
            javaExecSpec.bootstrapClasspath(classpath);
            return this;
        }
    
        /**
         * {@inheritDoc}
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  5. platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/daemon/DaemonGroovyCompiler.java

    import org.gradle.initialization.ClassLoaderRegistry;
    import org.gradle.internal.classloader.FilteringClassLoader;
    import org.gradle.internal.classloader.VisitableURLClassLoader;
    import org.gradle.internal.classpath.ClassPath;
    import org.gradle.internal.classpath.DefaultClassPath;
    import org.gradle.internal.jvm.JavaInfo;
    import org.gradle.internal.jvm.JpmsConfiguration;
    import org.gradle.internal.jvm.Jvm;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishFeaturesJavaIntegTest.groovy

                    }
                    compileClasspath.extendsFrom(optionalFeatureImplementation)
                }
    
                tasks.compileJava {
                    // Avoid resolving the classpath when caching the configuration
                    classpath = files()
                }
    
                dependencies {
                    optionalFeatureImplementation 'org:optionaldep:1.0'
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/test_kit.adoc

    If the <<#sub:gradle-runner-gradle-version,target Gradle version>> is prior to 2.8, automatic plugin classpath injection is not performed.
    
    The plugin uses the following conventions for applying the TestKit dependency and injecting the classpath:
    
    * Source set containing code under test: `sourceSets.main`
    * Source set used for injecting the plugin classpath: `sourceSets.test`
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/service/scopes/GradleUserHomeScopeServices.java

    import org.gradle.internal.classpath.ClasspathWalker;
    import org.gradle.internal.classpath.DefaultCachedClasspathTransformer;
    import org.gradle.internal.classpath.DefaultClasspathBuilder;
    import org.gradle.internal.classpath.DefaultClasspathTransformerCacheFactory;
    import org.gradle.internal.classpath.transforms.ClasspathElementTransformFactoryForAgent;
    import org.gradle.internal.classpath.transforms.ClasspathElementTransformFactoryForLegacy;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolveConfigurationDependenciesBuildOperationIntegrationTest.groovy

            resolveOperations[0].details.configurationDescription ==~ /Compile classpath for source set 'main'.*/
            resolveOperations[0].details.configurationVisible == false
            resolveOperations[0].details.configurationTransitive == true
            resolveOperations[0].result.resolvedDependenciesCount == 2
    
            and: "classpath configuration is exposed"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  10. testing/soak/src/integTest/kotlin/org/gradle/kotlin/dsl/caching/ScriptCachingIntegrationTest.kt

        }
    
        @Test
        fun `same script & target type different classpath`() {
    
            // given: different classpath
            withClassJar("left/fixture.jar")
            withClassJar("right/fixture.jar", DeepThought::class.java)
    
            // and: same script & target type
            val sameContent = """
                buildscript {
                    dependencies { classpath(files("fixture.jar")) }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:33:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top