- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 50 for JavaPluginExtension (0.26 sec)
-
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/eclipse/EclipsePlugin.java
for (SourceSet sourceSet : project.getExtensions().getByType(JavaPluginExtension.class).getSourceSets()) { task.dependsOn(sourceSet.getOutput().getDirs()); } } }); SourceSetContainer sourceSets = project.getExtensions().getByType(JavaPluginExtension.class).getSourceSets();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 23.5K bytes - Viewed (0) -
platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/AbstractCodeQualityPlugin.java
protected void withBasePlugin(Action<Plugin> action) { project.getPlugins().withType(getBasePlugin(), action); } protected JavaPluginExtension getJavaPluginExtension() { return project.getExtensions().getByType(JavaPluginExtension.class); } @Inject protected abstract JvmPluginServices getJvmPluginServices();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 08:01:57 UTC 2024 - 8.8K bytes - Viewed (0) -
platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmFeature.java
if (extendProductionCode) { doExtendProductionCode(); } JavaPluginExtension javaPluginExtension = project.getExtensions().findByType(JavaPluginExtension.class); JvmPluginsHelper.configureJavaDocTask("'" + name + "' feature", sourceSet, tasks, javaPluginExtension); } void doExtendProductionCode() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 21K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/eclipse/EclipseWtpPlugin.java
import org.gradle.api.artifacts.Configuration; import org.gradle.api.internal.ConventionMapping; import org.gradle.api.internal.IConventionAware; import org.gradle.api.plugins.JavaPlugin; import org.gradle.api.plugins.JavaPluginExtension; import org.gradle.api.plugins.WarPlugin; import org.gradle.api.plugins.internal.JavaPluginHelper; import org.gradle.api.tasks.TaskProvider; import org.gradle.api.tasks.bundling.War;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 01 11:07:39 UTC 2023 - 16.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/kotlinDsl/noAccessors/kotlin/build.gradle.kts
// tag::project-container-extension[] configure<SourceSetContainer> { named("main") { java.srcDir("src/core/java") } } // end::project-container-extension[] configure<JavaPluginExtension> { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 } // end::project-extension[] // tag::tasks[] tasks { named<Test>("test") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1K bytes - Viewed (0) -
platforms/jvm/plugins-jvm-test-fixtures/src/main/java/org/gradle/api/plugins/JavaTestFixturesPlugin.java
@Inject public JavaTestFixturesPlugin() { } @Override public void apply(Project project) { project.getPlugins().apply(JavaBasePlugin.class); JavaPluginExtension extension = project.getExtensions().getByType(JavaPluginExtension.class); SourceSet testFixturesSourceSet = extension.getSourceSets().maybeCreate(TEST_FIXTURES_FEATURE_NAME); JvmFeatureInternal feature = new DefaultJvmFeature(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 04:22:29 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/toolchain-task/kotlin/build.gradle.kts
abstract class CustomTaskUsingToolchains : DefaultTask() { @get:Nested abstract val launcher: Property<JavaLauncher> // <1> init { val toolchain = project.extensions.getByType<JavaPluginExtension>().toolchain // <2> val defaultLauncher = javaToolchainService.launcherFor(toolchain) // <3> launcher.convention(defaultLauncher) // <4> } @TaskAction fun showConfiguredToolchain() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/AntlrPlugin.java
import org.gradle.api.internal.tasks.DefaultSourceSet; import org.gradle.api.internal.tasks.JvmConstants; import org.gradle.api.model.ObjectFactory; import org.gradle.api.plugins.JavaLibraryPlugin; import org.gradle.api.plugins.JavaPluginExtension; import org.gradle.api.plugins.antlr.internal.DefaultAntlrSourceDirectorySet; import org.gradle.api.tasks.SourceSet; import javax.inject.Inject; import java.io.File; /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 12:15:28 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/jvm/plugins-jvm-test-suite/src/main/java/org/gradle/api/plugins/JvmTestSuitePlugin.java
public void apply(Project project) { project.getPluginManager().apply(TestSuiteBasePlugin.class); project.getPluginManager().apply(JavaBasePlugin.class); JavaPluginExtension java = project.getExtensions().getByType(JavaPluginExtension.class); TestingExtension testing = project.getExtensions().getByType(TestingExtension.class); ExtensiblePolymorphicDomainObjectContainer<TestSuite> testSuites = testing.getSuites();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 04 21:08:13 UTC 2023 - 8.2K bytes - Viewed (0) -
platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/internal/DefaultJavaPluginExtension.java
import org.gradle.api.java.archives.internal.DefaultManifest; import org.gradle.api.jvm.ModularitySpec; import org.gradle.api.model.ObjectFactory; import org.gradle.api.plugins.FeatureSpec; import org.gradle.api.plugins.JavaPluginExtension; import org.gradle.api.plugins.JavaResolutionConsistency; import org.gradle.api.plugins.jvm.internal.JvmFeatureInternal; import org.gradle.api.reporting.ReportingExtension; import org.gradle.api.tasks.SourceSet;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 01 19:59:45 UTC 2023 - 16.9K bytes - Viewed (0)