- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 123 for GetByType (0.22 sec)
-
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/internal/tooling/IsolatedIdeaModuleInternalBuilder.java
private static IsolatedIdeaModuleInternal build(Project project, boolean offlineDependencyResolution) { project.getPluginManager().apply(IdeaPlugin.class); IdeaModel ideaModelExt = project.getExtensions().getByType(IdeaModel.class); IdeaModuleInternal ideaModuleExt = (IdeaModuleInternal) ideaModelExt.getModule(); ideaModuleExt.setOffline(offlineDependencyResolution);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 12:13:36 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/internal/IdeaScalaConfigurer.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 14:04:39 UTC 2024 - 12.2K bytes - Viewed (0) -
platforms/jvm/plugins-groovy/src/test/groovy/org/gradle/api/plugins/GroovyBasePluginTest.groovy
assertThat(task.destinationDir, equalTo(new File(project.docsDir, 'groovydoc'))) assertThat(task.docTitle, equalTo(project.extensions.getByType(ReportingExtension).apiDocTitle)) assertThat(task.windowTitle, equalTo(project.extensions.getByType(ReportingExtension).apiDocTitle)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 12 18:44:49 UTC 2023 - 3K bytes - Viewed (0) -
platforms/jvm/plugins-jvm-test-suite/src/main/java/org/gradle/api/plugins/JvmTestSuitePlugin.java
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/core-configuration/kotlin-dsl-plugins/src/main/kotlin/org/gradle/kotlin/dsl/plugins/precompiled/PrecompiledScriptPlugins.kt
get() = project.sourceSets["main"].kotlin } } val Project.kotlinDslPluginOptions: KotlinDslPluginOptions get() = extensions.getByType() private val Project.sourceSets: SourceSetContainer get() = extensions.getByType() private val SourceSet.kotlin: SourceDirectorySet
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/toolchain-task/groovy/build.gradle
abstract class CustomTaskUsingToolchains extends DefaultTask { @Nested abstract Property<JavaLauncher> getLauncher() // <1> CustomTaskUsingToolchains() { def toolchain = project.extensions.getByType(JavaPluginExtension.class).toolchain // <2> Provider<JavaLauncher> defaultLauncher = getJavaToolchainService().launcherFor(toolchain) // <3> launcher.convention(defaultLauncher) // <4> } @TaskAction
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/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/plugins/JacocoPlugin.java
} private void configureCoverageDataElementsVariants(Project project) { project.getPlugins().withType(JvmTestSuitePlugin.class, p -> { final TestingExtension testing = project.getExtensions().getByType(TestingExtension.class); final ExtensiblePolymorphicDomainObjectContainer<TestSuite> testSuites = testing.getSuites(); testSuites.withType(JvmTestSuite.class).configureEach(suite -> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 07 21:09:25 UTC 2023 - 14K bytes - Viewed (0) -
platforms/jvm/plugins-test-report-aggregation/src/main/java/org/gradle/api/plugins/TestReportAggregationPlugin.java
testAggregation.setDescription("A configuration to collect test execution results"); testAggregation.setVisible(false); ReportingExtension reporting = project.getExtensions().getByType(ReportingExtension.class); reporting.getReports().registerBinding(AggregateTestReport.class, DefaultAggregateTestReport.class); ObjectFactory objects = project.getObjects();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 20:53:52 UTC 2023 - 6.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/developingPlugins/reactingToPlugins/groovy/buildSrc/src/main/java/InhouseStrongOpinionConventionJavaPlugin.java
// Careful! Eagerly appyling plugins has downsides, and is not always recommended. project.getPlugins().apply(JavaPlugin.class); SourceSetContainer sourceSets = project.getExtensions().getByType(SourceSetContainer.class); SourceSet main = sourceSets.getByName(SourceSet.MAIN_SOURCE_SET_NAME); main.getJava().setSrcDirs(Arrays.asList("src")); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 766 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/DefaultConvention.java
return extensionsStorage.getSchema(); } @Override public <T> T getByType(Class<T> type) { return getByType(typeOf(type)); } @Override public <T> T getByType(TypeOf<T> type) { return extensionsStorage.getByType(type); } @Override public <T> T findByType(Class<T> type) { return findByType(typeOf(type));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 13.7K bytes - Viewed (0)