- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 58 for hasPlugin (0.15 sec)
-
platforms/jvm/plugins-application/src/test/groovy/org/gradle/api/plugins/ApplicationPluginTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/jvm/scala/src/test/groovy/org/gradle/api/plugins/scala/ScalaPluginTest.groovy
private final ScalaPlugin scalaPlugin = TestUtil.newInstance(ScalaPlugin) def appliesTheJavaPluginToTheProject() { when: scalaPlugin.apply(project) then: project.getPlugins().hasPlugin(JavaPlugin) } def addsScalaConventionToEachSourceSetAndAppliesMappings() { when: scalaPlugin.apply(project) then: def sourceSet = project.sourceSets.main
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 6.2K bytes - Viewed (0) -
platforms/jvm/ear/src/main/java/org/gradle/plugins/ear/EarPlugin.java
} }); task.from((Callable<FileCollection>) () -> { if (project.getPlugins().hasPlugin(JavaPlugin.class)) { return null; } else { return task.getAppDirectory().getAsFileTree(); } });
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jul 12 16:57:15 UTC 2023 - 9.4K bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/use/resolve/internal/ArtifactRepositoriesPluginResolver.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 12:20:28 UTC 2024 - 8.6K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/WtpComponentFactory.java
} @Override public boolean isOffline() { return !includeLibraries(); } private boolean includeLibraries() { return !project.getPlugins().hasPlugin(JavaPlugin.class); } @Override public boolean downloadSources() { return false; } @Override public boolean downloadJavaDoc() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinDslScriptsModelBuilder.kt
internal fun Project.discoverBuildScript(): File? = buildFile.takeIf { it.isKotlinDslFile } internal fun Project.discoverPrecompiledScriptPluginScripts() = if (plugins.hasPlugin("org.gradle.kotlin.kotlin-dsl")) serviceOf<PrecompiledScriptPluginsSupport>() .collectScriptPluginFilesOf(this) else emptyList() internal
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 19 18:13:21 UTC 2023 - 9.9K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/plugins/NativeComponentModelPluginTest.groovy
} def "can apply plugin by id"() { given: def project = TestUtil.createRootProject(null) project.apply plugin: 'native-component-model' expect: project.plugins.hasPlugin(NativeComponentModelPlugin) } public <T> T realizeModelElement(String path, Class<T> type) { realizeModelElement(path, ModelType.of(type)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 20:10:55 UTC 2024 - 9.8K bytes - Viewed (0) -
platforms/jvm/ear/src/test/groovy/org/gradle/plugins/ear/EarPluginTest.groovy
</module> </application> """ def "applies base plugin and adds convention"() { when: project.pluginManager.apply(EarPlugin) then: project.getPlugins().hasPlugin(BasePlugin) project.convention.plugins.ear instanceof EarPluginConvention } def "creates configurations"() { when: project.pluginManager.apply(EarPlugin) and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 02 14:55:02 UTC 2023 - 11.7K bytes - Viewed (0) -
platforms/jvm/java-platform/src/main/java/org/gradle/api/plugins/JavaPlatformPlugin.java
this.softwareComponentFactory = softwareComponentFactory; } @Override public void apply(Project project) { if (project.getPluginManager().hasPlugin("java")) { // This already throws when creating `apiElements` so be eager to have a clear error message throw new IllegalStateException(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 11K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/NativeDependentBinariesResolutionStrategy.java
for (ProjectInternal project : orderedProjects) { if (project.getPlugins().hasPlugin(ComponentModelBasePlugin.class)) { ModelRegistry modelRegistry = projectModelResolver.resolveProjectModel(project.getPath());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 11.4K bytes - Viewed (0)