- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 128 for sourceSets (0.27 sec)
-
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorServicesIntegrationTest.groovy
buildFile << """ apply plugin: "java" task runInWorker(type: WorkerTask) { isolationMode = $isolationMode def classpath = sourceSets.main.output.classesDirs def projectDir = project.projectDir def testFile = project.file("\$buildDir/\$name") additionalParameters = {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 12.4K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/IdeaPlugin.java
public Map<String, FileCollection> call() { SourceSetContainer sourceSets = project.getExtensions().getByType(JavaPluginExtension.class).getSourceSets(); singleEntryLibraries.putIfAbsent("RUNTIME", sourceSets.getByName("main").getOutput().getDirs()); singleEntryLibraries.putIfAbsent("TEST", sourceSets.getByName("test").getOutput().getDirs()); return singleEntryLibraries;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 12 14:00:13 UTC 2023 - 25.2K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/test/groovy/org/gradle/plugin/devel/plugins/JavaGradlePluginPluginTest.groovy
project.pluginManager.apply(JavaGradlePluginPlugin) def sourceSets = project.extensions.getByType(JavaPluginExtension).sourceSets sourceSets.create("other") then: "the Gradle plugin API version attribute should be set on the classpath configurations of all source sets but no other configurations" def classpathConfigurations = sourceSets
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 11.5K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt
internal fun Project.addSourceSet(testType: TestType): SourceSet { val prefix = testType.prefix val sourceSets = the<SourceSetContainer>() val main by sourceSets.getting return sourceSets.create("${prefix}Test") { compileClasspath += main.output runtimeClasspath += main.output } } internal fun Project.createTasks(sourceSet: SourceSet, testType: TestType) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 23:14:25 UTC 2024 - 12K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 08:42:44 UTC 2024 - 19.9K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/JavaProjectIntegrationTest.groovy
task generateResource task generateTestResource task notRegistered sourceSets.main.output.dir "$buildDir/generatedResources", builtBy: 'generateResource' sourceSets.main.output.dir "$buildDir/generatedResourcesWithoutBuilder" sourceSets.test.output.dir "$buildDir/generatedTestResources", builtBy: 'generateTestResource' ''' //when
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 20:01:36 UTC 2024 - 10.1K bytes - Viewed (0) -
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/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaModuleIntegrationTest.groovy
file('build/ws/test/service.xml').with { parentFile.mkdirs() text = "<xml/>" } } } tasks.idea.dependsOn generate sourceSets.main.output.dir "$buildDir/generated/main" sourceSets.test.output.dir "$buildDir/ws/test" ''' //then def dependencies = parseIml("root.iml").dependencies assert dependencies.libraries.size() == 2
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 24.4K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpPluginTest.groovy
checkEclipseWtpComponentForEar(project.sourceSets.main.allSource.srcDirs) } else { checkEclipseClasspath([]) checkEclipseWtpComponentForEar(project.layout.files(project.appDirName) as Set) } checkEclipseWtpFacet([
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 08 10:14:49 UTC 2023 - 16.2K bytes - Viewed (0)