Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 485 for sourceSets (0.13 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractSourceIncrementalCompilationIntegrationTest.groovy

            outputs.recompiledClasses('B', 'B$NewInner')
            outputs.deletedClasses('B$Inner')
        }
    
        def "recompilation considers changes from dependent sourceSet"() {
            buildFile << """
    sourceSets {
        other {}
        main { compileClasspath += sourceSets.other.output }
    }
    """
            if (language == CompiledLanguage.GROOVY) {
                buildFile << """
            dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerConventionalPluginClasspathInjectionEndUserIntegrationTest.groovy

                task functionalTest(type: Test) {
                    useJUnitPlatform()
                    testClassesDirs = sourceSets.functionalTest.output.classesDirs
                    classpath = sourceSets.functionalTest.runtimeClasspath
                }
    
                gradlePlugin {
                    testSourceSets sourceSets.functionalTest
                }
            """
    
            then:
            succeeds 'functionalTest'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r50/ToolingApiIdeaModelCrossVersionSpec.groovy

        }
    
        test {
            java { srcDirs = ['testSources'] }
            resources { srcDirs = ['testResources'] }
        }
    
    }
    
    idea.module {
        sourceDirs += sourceSets.foo.java.srcDirs
        resourceDirs += sourceSets.foo.resources.srcDirs
    }
    '''
    
            projectDir.create {
                mainSources {}
                mainResources {}
                fooSources {}
                fooResources {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java/src/main/java/org/gradle/api/plugins/JavaPlugin.java

            configureTestTaskOrdering(project.getTasks());
            configureDiagnostics(project, javaComponent.getMainFeature());
            configureBuild(project);
        }
    
        private static JvmFeatureInternal createMainFeature(ProjectInternal project, SourceSetContainer sourceSets) {
            SourceSet sourceSet = sourceSets.create(SourceSet.MAIN_SOURCE_SET_NAME);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/java-feature-variant/producer-separate-sourceset/groovy/build.gradle

    }
    
    group = 'org.gradle.demo'
    version = '1.0'
    
    // tag::register_variant[]
    sourceSets {
        mongodbSupport {
            java {
                srcDir 'src/mongodb/java'
            }
        }
    }
    
    // tag::register_variant_extra_jars[]
    java {
        registerFeature('mongodbSupport') {
            usingSourceSet(sourceSets.mongodbSupport)
    // end::register_variant[]
            withJavadocJar()
            withSourcesJar()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 05:16:22 UTC 2023
    - 946 bytes
    - Viewed (0)
  6. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishFeaturesJavaPluginIntegTest.groovy

            ivyRepo.module('org', 'optionaldep', '1.0').withModuleMetadata().publish()
    
            given:
            buildFile << """
    
                sourceSets {
                    feature
                }
    
                java {
                    registerFeature("feature") {
                        usingSourceSet(sourceSets.feature)
                    }
                }
    
                ${ivyTestRepository()}
    
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 19:59:45 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/kotlin-js-sample/build.gradle.kts

    }
    
    dependencies {
        implementation(kotlin("stdlib-js"))
    }
    
    repositories {
        mavenCentral()
    }
    
    tasks {
        compileKotlin2Js {
            kotlinOptions {
                outputFile = "${sourceSets.main.get().output.resourcesDir}/output.js"
                sourceMap = true
            }
        }
        val unpackKotlinJsStdlib by registering {
            group = "build"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestClassDetectionIntegrationTest.groovy

                }
    
                task othertestsTest(type:Test){
                    ${configureTestFramework}
                    classpath = sourceSets.othertests.runtimeClasspath
                    testClassesDirs = sourceSets.othertests.output.classesDirs
                }
            """.stripIndent()
    
            and:
            file("src/othertests/java/SomeTestClass.java") << """
                ${testFrameworkImports}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.javadoc.Groovydoc.xml

                    <td><literal>project.configurations.groovy</literal></td>
                </tr>
                <tr>
                    <td>classpath</td>
                    <td><literal>sourceSets.main.output + sourceSets.main.compileClasspath</literal></td>
                </tr>
                <tr>
                    <td>use</td>
                    <td><literal>false</literal></td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. platforms/jvm/scala/src/test/groovy/org/gradle/api/plugins/scala/Scala3PluginTest.groovy

            task.source as List  == project.sourceSets.main.output.findAll { it.name.endsWith(".tasty") } as List // We take output of main (with tasty files)
            assertThat(task.classpath, sameCollection(project.layout.files(project.sourceSets.main.output, project.sourceSets.main.compileClasspath)))
            task.title == project.extensions.getByType(ReportingExtension).apiDocTitle
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top