- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 79 for sourceSets (0.42 sec)
-
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcPluginIntegrationTest.groovy
assert ignoreFailures == false } } assertTaskConfiguration('codenarcMain', project.sourceSets.main) assertTaskConfiguration('codenarcTest', project.sourceSets.test) assertTaskConfiguration('codenarcOther', project.sourceSets.other) '''.stripIndent() expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 08:01:57 UTC 2024 - 8.3K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/api/plugins/JavaPluginTest.groovy
task dependsOn() task.source.files == project.sourceSets.main.resources.files task.destinationDir == project.sourceSets.main.output.resourcesDir when: task = project.tasks[JvmConstants.COMPILE_JAVA_TASK_NAME] as JavaCompile then: task dependsOn() task.classpath.is(project.sourceSets.main.compileClasspath)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 25.5K bytes - Viewed (0) -
testing/smoke-ide-test/build.gradle.kts
plugins { id("gradlebuild.internal.java") } description = "Tests are checking Gradle behavior during IDE synchronization process" val smokeIdeTestSourceSet = sourceSets.create("smokeIdeTest") { compileClasspath += sourceSets.main.get().output runtimeClasspath += sourceSets.main.get().output } addDependenciesAndConfigurations("smokeIde") val smokeIdeTestImplementation: Configuration by configurations
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 08 18:13:31 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/AbstractCodeQualityPlugin.java
}); } @SuppressWarnings("unchecked") private void configureForSourceSets(SourceSetContainer sourceSets) { sourceSets.all(new Action<SourceSet>() { @Override public void execute(final SourceSet sourceSet) { project.getTasks().register(sourceSet.getTaskName(getTaskBaseName(), null), getCastedTaskType(), new Action<Task>() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 08:01:57 UTC 2024 - 8.8K bytes - Viewed (0) -
build.gradle.kts
toolVersion = rootProject.libs.versions.checkStyle.get() sourceSets = listOf(project.sourceSets["main"]) } // Animal Sniffer confirms we generally don't use APIs not on Java 8. configure<AnimalSnifferExtension> { annotation = "okhttp3.internal.SuppressSignatureCheck" sourceSets = listOf(project.sourceSets["main"]) } val signature: Configuration by configurations.getting
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Thu Apr 18 01:32:42 UTC 2024 - 8.9K bytes - Viewed (0) -
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) -
platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/DefaultJavaPluginConventionTest.groovy
def sourceSets = Stub(SourceSetContainer) def toolchainSpec = TestUtil.newInstance(DefaultToolchainSpec) private JavaPluginExtension extension private JavaPluginConvention convention def setup() { project.pluginManager.apply(ReportingBasePlugin) extension = TestUtil.newInstance(DefaultJavaPluginExtension.class, project, sourceSets, toolchainSpec)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 20:25:05 UTC 2024 - 5.9K bytes - Viewed (0) -
testing/precondition-tester/build.gradle.kts
fun Test.setupPreconditionTesting() { // We only want to execute our special tests // so we override what classes are going to run testClassesDirs = sourceSets.test.get().output.classesDirs // All test should have this project's "test" source set on their classpath classpath += sourceSets.test.get().output // These tests should not be impacted by the predictive selection extensions.findByType<DevelocityTestConfiguration>()?.apply {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 08 04:59:12 UTC 2024 - 3.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsJavaPluginIntegrationTest.groovy
include("b") """ javaProject(file("a"), """ group = "group" sourceSets { create("feature") } java { registerFeature('feature') { usingSourceSet(sourceSets.feature) } } dependencies { implementation project(":b") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3K bytes - Viewed (0) -
testing/internal-performance-testing/build.gradle.kts
import gradlebuild.basics.googleApisJs plugins { id("gradlebuild.internal.java") } description = "Collection of test fixtures for performance tests, internal use only" sourceSets { main { // Incremental Groovy joint-compilation doesn't work with the Error Prone annotation processor errorprone.enabled = false } } val reports by configurations.creating val flamegraph by configurations.creating
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 2.6K bytes - Viewed (0)