- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for usingSourceSet (0.35 sec)
-
platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryFeatureCompilationIntegrationTest.groovy
main211 {} main212 {} } java { registerFeature('scala211') { usingSourceSet(sourceSets.main211) } registerFeature('scala212') { usingSourceSet(sourceSets.main212) } } """ file("src/main211/java/com/foo/Foo.java") << """ package com.foo;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 18 13:02:41 UTC 2024 - 22.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/developingPlugins/pluginWithVariants/groovy/build.gradle
id 'maven-publish' } group = 'org.example' version = '1.0' // tag::add-plugin-variant[] def gradle7 = sourceSets.create('gradle7') java { registerFeature(gradle7.name) { usingSourceSet(gradle7) capability(project.group.toString(), project.name, project.version.toString()) // <1> } } configurations.configureEach { if (canBeConsumed && name.startsWith(gradle7.name)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 01 01:32:48 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/developingPlugins/pluginWithVariants/kotlin/build.gradle.kts
id("maven-publish") } group = "org.example" version = "1.0" // tag::add-plugin-variant[] val gradle7 = sourceSets.create("gradle7") java { registerFeature(gradle7.name) { usingSourceSet(gradle7) capability(project.group.toString(), project.name, project.version.toString()) // <1> } } configurations.configureEach { if (isCanBeConsumed && name.startsWith(gradle7.name)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 01 01:32:48 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsJavaPluginIntegrationTest.groovy
group = "group" sourceSets { create("feature") } java { registerFeature('feature') { usingSourceSet(sourceSets.feature) } } dependencies { implementation project(":b") } """) javaProject(file("b"), """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/variants/GradlePluginWithVariantsPublicationIntegrationTest.groovy
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()) } } configurations.configureEach {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:55:38 UTC 2024 - 16.6K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/api/plugins/JavaPluginTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 25.5K bytes - Viewed (0) -
platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryFeaturePublishingIntegrationTest.groovy
buildFile << """ sourceSets { integTestFixtures } java { registerFeature("integTestFixtures") { usingSourceSet sourceSets.integTestFixtures if ($javadocs) { withJavadocJar() } if ($sources) { withSourcesJar() } if (!$published) { disablePublication() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 18 13:02:41 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/api/plugins/JavaPluginIntegrationTest.groovy
foo bar } java { registerFeature("foo") { usingSourceSet(sourceSets.foo) } registerFeature("bar") { usingSourceSet(sourceSets.bar) } } task verify { components.java.features {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 29 11:39:00 UTC 2024 - 19.6K bytes - Viewed (0) -
platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseTestConfigurationsWithProjectDependenciesIntegrationTest.groovy
file('b/build.gradle') << """ sourceSets { functionalTest } java { registerFeature('feature') { usingSourceSet(sourceSets.functionalTest) } } """ when: run 'eclipse' then: assertProjectDependencyDoesNotHaveTestAttribute('a', 'b')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Mar 24 15:55:52 UTC 2024 - 6.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc
Currently, features created while calling `link:{javadocPath}/org/gradle/api/plugins/FeatureSpec.html#usingSourceSet-org.gradle.api.tasks.SourceSet-[usingSourceSet]` with the `main` source set are initialized differently than features created while calling `usingSourceSet` with any other source set.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 17:01:07 UTC 2024 - 90.7K bytes - Viewed (0)