- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 66 for sourceSets (0.26 sec)
-
subprojects/core/build.gradle.kts
// Separated from the test source set since we don't support incremental annotation processor with Java/Groovy joint compilation sourceSets { val testInterceptors = create("testInterceptors") { compileClasspath += sourceSets.main.get().output runtimeClasspath += sourceSets.main.get().output } getByName("test") { compileClasspath += testInterceptors.output
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:14 UTC 2024 - 12.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:59:43 UTC 2024 - 22.6K bytes - Viewed (0) -
platforms/jvm/plugins-jvm-test-suite/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmTestSuite.java
Configuration implementation = configurations.getByName(sourceSet.getImplementationConfigurationName()); Configuration runtimeOnly = configurations.getByName(sourceSet.getRuntimeOnlyConfigurationName()); Configuration annotationProcessor = configurations.getByName(sourceSet.getAnnotationProcessorConfigurationName());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 22:19:12 UTC 2024 - 14K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinBuildScriptModelBuilder.kt
data class EnclosingSourceSet(val project: Project, val sourceSet: SourceSet) private fun findSourceSetOfFileIn(projects: Iterable<Project>, file: File): EnclosingSourceSet? = projects .asSequence() .mapNotNull { it.findSourceSetOf(file) } .firstOrNull() private fun Project.findSourceSetOf(file: File): EnclosingSourceSet? = sourceSets?.find { file in it.allSource }?.let {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 11:06:08 UTC 2024 - 17.8K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaIntegrationTest.groovy
void onlyAddsSourceDirsThatExistOnFileSystem() { runIdeaTask """ apply plugin: "java" apply plugin: "groovy" apply plugin: "idea" sourceSets.main.java.srcDirs.each { it.mkdirs() } sourceSets.main.resources.srcDirs.each { it.mkdirs() } sourceSets.test.groovy.srcDirs.each { it.mkdirs() } """ def module = parseImlFile("root") def sourceFolders = module.component.content.sourceFolder
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 01:27:55 UTC 2024 - 19.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationRoleUsageIntegrationTest.groovy
void apply(project) { project.pluginManager.apply(BasePlugin.class) project.pluginManager.apply(JvmEcosystemPlugin.class) project.sourceSets.create('custom') project.configurations.create('customCompileOnly') project.configurations.create('implementation') } } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 27 01:42:49 UTC 2024 - 27.5K bytes - Viewed (0) -
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) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AndroidPluginsSmokeTest.groovy
} @UnsupportedWithConfigurationCache def "can use sourceSets task with android library and application build (agp=#agpVersion, ide=#ide)"() { given: AGP_VERSIONS.assumeCurrentJavaVersionIsSupportedBy(agpVersion) and: androidLibraryAndApplicationBuild(agpVersion) and: def runner = agpRunner(agpVersion, 'sourceSets') when: def result = runner.build()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 16K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaAccessorsIntegrationTest.kt
group = "verification" testClassesDirs = sourceSets["integTest"].output.classesDirs classpath = sourceSets["integTest"].runtimeClasspath mustRunAfter(project.tasks.test) } check { dependsOn(integTest) } } """ ) build("help") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 29 11:39:00 UTC 2024 - 39.6K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/jvm/building_java_projects.adoc
==== 1. By setting the `compileGroovy` classpath to be only `sourceSets.main.compileClasspath`, we effectively remove the previous dependency on `compileJava` that was declared by having the classpath also take into consideration `sourceSets.main.java.classesDirectory` 2. By adding `sourceSets.main.groovy.classesDirectory` to the `compileJava` `classpath`, we effectively declare a dependency on the `compileGroovy` task
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 15:00:23 UTC 2024 - 44.1K bytes - Viewed (0)