Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 73 for sourceSets (0.17 sec)

  1. platforms/jvm/code-quality/build.gradle.kts

     * limitations under the License.
     */
    
    plugins {
        id("gradlebuild.distribution.api-java")
    }
    
    description = "Plugins and integration with code quality (Checkstyle, PMD, CodeNarc)"
    
    sourceSets {
        main {
            // Incremental Groovy joint-compilation doesn't work with the Error Prone annotation processor
            errorprone.enabled = false
        }
    }
    
    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/build.gradle.kts

        testCompileOnly(toolsJarApi())
        testRuntimeOnly(toolsJar())
        testApi(platform(libs.junit.bom))
        testImplementation(libs.junit.jupiter.api)
        testRuntimeOnly(libs.junit.jupiter.engine)
    }
    
    sourceSets {
        "main" { projectDefault() }
        "test" {
            projectDefault()
            generatedTestDir()
        }
    }
    
    optInToUnsafeDuringIrConstructionAPI()
    
    projectTest(jUnitMode = JUnitMode.JUnit5) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

                }
            }.files)
            this.manifestFile = moduleIdentity.baseName.map { layout.buildDirectory.file("generated-resources/$it-classpath/$it-classpath.properties").get() }
        }
        sourceSets["main"].output.dir(classpathManifest.map { it.manifestFile.get().asFile.parentFile })
    }
    
    /**
     * Walk the resolved graph and discover all external dependencies that are not transitive dependencies
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 01 08:59:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r27/ToolingApiEclipseLinkedResourcesCrossVersionSpec.groovy

            projectBsrcSiblingFolder.mkdirs()
            projectBsrcFolder.mkdirs()
            srcFolder.mkdirs()
            srcRootFolder1.mkdirs()
            srcRootFolder2.mkdirs()
            file('subprojectA/build.gradle').text = """
    sourceSets {
        main {
            java {
                srcDirs = ['src', '../subprojectB/src-sibling', '../src-root', '../src', '../subprojectB/src']
            }
        }
    }
    """
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/wrapper-main/build.gradle.kts

            attributes(Attributes.Name.IMPLEMENTATION_TITLE.toString() to "Gradle Wrapper")
        }
        from(layout.projectDirectory.dir("src/executable/resources"))
        from(sourceSets.main.get().output)
        // Exclude properties files from this project as they are not needed for the executable JAR
        exclude("gradle-*-classpath.properties")
        exclude("gradle-*-parameter-names.properties")
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

        "JavaUtilDate", // We are fine with using Date
        "StringSplitter", // We are fine with using String.split() as is
    )
    
    project.plugins.withType<JavaBasePlugin> {
        project.extensions.getByName<SourceSetContainer>("sourceSets").configureEach {
            val extension = this.extensions.create<ErrorProneSourceSetExtension>("errorprone", project.objects.property<Boolean>())
            // Enable it only for the main source set by default, as incremental Groovy
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:36 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/variants/GradlePluginWithVariantsPublicationIntegrationTest.groovy

                    id('maven-publish')
                }
    
                group = "com.example"
                version = "1.0"
    
                // == Add a Gradle 7 variant
                def gradle7 = sourceSets.create('gradle7')
                java {
                    registerFeature(gradle7.name) {
                        usingSourceSet(gradle7)
                        capability(project.group.toString(), project.name, project.version.toString())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. build-logic/performance-testing/src/main/groovy/gradlebuild.performance-templates.gradle

        inputs.property('args') { // Arguments are covered by the testProjectName and the outputs. We don't want them to contain the absolute path
            return []
        }
        classpath = sourceSets.performanceTest.runtimeClasspath.filter { it.name.contains('groovy') || it.name.contains('guava')  || it.name.contains('gradle-') }
        mainClass = 'org.gradle.performance.generator.DeclarativeDslTestProjectGenerator'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 15:43:39 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileCompatibilityIntegrationTest.groovy

                apply plugin: "java-base"
    
                java {
                    ${extensionSource != null ? "sourceCompatibility = JavaVersion.toVersion('$extensionSource')" : ""}
                }
    
                sourceSets {
                    custom {}
                }
    
                compileCustomJava {
                    ${taskSource != null ? "sourceCompatibility = '$taskSource'" : ""}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r56/ToolingApiEclipseModelTestSourcesCrossVersionSpec.groovy

                    compileOnly 'com.google.guava:guava:21.0'
                    testImplementation 'junit:junit:4.13'
                }
    
                eclipse {
                    classpath {
                        testSourceSets = [sourceSets.main]
                        testConfigurations = [configurations.compileClasspath, configurations.runtimeClasspath]
                    }
                }
            """
            file('src/main/java').mkdirs()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top