Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 76 for classesDir (0.2 sec)

  1. build-logic/packaging/src/main/kotlin/gradlebuild/instrumentation/transforms/InstrumentationMetadataTransform.kt

            const val UPGRADED_PROPERTIES_FILE = "upgraded-properties.json"
        }
    
        @get:Inject
        abstract val inputChanges: InputChanges
    
        @get:Classpath
        @get:InputArtifact
        abstract val classesDir: Provider<FileSystemLocation>
    
        override fun transform(outputs: TransformOutputs) {
            val oldSuperTypes = Properties()
            val outputDir = outputs.dir("instrumentation")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 14:00:26 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/DefaultDependenciesAccessors.java

        }
    
        private static class GeneratedAccessors {
            private final File sourcesDir;
            private final File classesDir;
    
            private GeneratedAccessors(File sourcesDir, File classesDir) {
                this.sourcesDir = sourcesDir;
                this.classesDir = classesDir;
            }
        }
    
        private static class DependenciesAccessorClassSource implements ClassSource {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 26.4K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/JavaBasePluginTest.groovy

        def "tasks reflect changes to source set configuration"() {
            def classesDir = project.file('target/classes')
            def resourcesDir = project.file('target/resources')
    
            when:
            project.pluginManager.apply(JavaBasePlugin)
            project.sourceSets.create('custom')
            project.sourceSets.custom.java.destinationDirectory.set(classesDir)
            project.sourceSets.custom.output.resourcesDir = resourcesDir
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy

            buildFile.text = simpleJavaProject()
    
            def classesDir = 'file("build/classes/moreTests")'
            buildFile << """
                sourceSets {
                    moreTests {
                        java.srcDir "src/test"
                        ${destinationDirectoryCode(classesDir)}
                        compileClasspath = compileClasspath + sourceSets.test.compileClasspath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r32/BuildActionCrossVersionSpec.groovy

            def classesDir1 = file("actions/1")
            copyClassTo(Action1, classesDir1)
            copyClassTo(SharedActionStaticState, classesDir1)
            def classesDir2 = file("actions/2")
            copyClassTo(Action2, classesDir2)
            def cl = actionClassLoader(classesDir1, classesDir2)
            def action1 = cl.loadClass(Action1.name)
            assert action1 != Action1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_4.adoc

     * The `classesDir` property has been removed from both the _JDepend_ task and link:{groovyDslPath}/org.gradle.api.tasks.SourceSetOutput.html[SourceSetOutput]. Use the _JDepend.classesDirs_ and link:{groovyDslPath}/org.gradle.api.tasks.SourceSetOutput.html#org.gradle.api.tasks.SourceSetOutput:classesDirs[SourceSetOutput.classesDirs] properties instead.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  7. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/internal/tasks/DefaultSourceSetOutput.java

            super(taskDependencyFactory);
            this.fileResolver = fileResolver;
    
            this.classesDirs = fileCollectionFactory.configurableFiles(sourceSetDisplayName + " classesDirs");
    
            this.outputDirectories = fileCollectionFactory.configurableFiles(sourceSetDisplayName + " classes");
            outputDirectories.from(classesDirs, (Callable<File>) this::getResourcesDir);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/integtests/ExecIntegrationTest.groovy

            buildFile << """
                apply plugin: 'java'
    
                task javaexecTask(type: JavaExec) {
                    def testFile = file("${'$'}buildDir/${'$'}name")
                    classpath(sourceSets.main.output.classesDirs)
                    mainClass = 'org.gradle.TestMain'
                    args projectDir, testFile
                    doLast {
                        assert testFile.exists()
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/developingPlugins/testingPlugins/kotlin/url-verifier-plugin/build.gradle.kts

    // tag::test-task[]
    val integrationTestTask = tasks.register<Test>("integrationTest") {
        description = "Runs the integration tests."
        group = "verification"
        testClassesDirs = integrationTest.output.classesDirs
        classpath = integrationTest.runtimeClasspath
        mustRunAfter(tasks.test)
    }
    tasks.check {
        dependsOn(integrationTestTask)
    }
    // end::test-task[]
    
    val functionalTest by sourceSets.creating
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/internal/tasks/DefaultSourceSetTest.groovy

            when:
            def dir1 = tmpDir.file('classes')
            sourceSet.output.classesDirs.from = [dir1]
            then:
            assertThat(sourceSet.output.files, equalTo([dir1] as Set))
    
            when:
            def dir2 = tmpDir.file('other-classes')
            sourceSet.output.classesDirs.from = [dir2]
            then:
            assertThat(sourceSet.output.files, equalTo([dir2] as Set))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 10.7K bytes
    - Viewed (0)
Back to top