- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 46 for getConvention (0.72 sec)
-
platforms/jvm/scala/src/main/java/org/gradle/api/plugins/scala/ScalaBasePlugin.java
DeprecationLogger.whileDisabled(() -> new DslObject(sourceSet).getConvention().getPlugins().put("scala", scalaSourceSet) ); return scalaSourceSet.getScala(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 10:39:12 UTC 2024 - 19.1K bytes - Viewed (0) -
platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/JavaBasePlugin.java
DeprecationLogger.whileDisabled(() -> project.getConvention().getPlugins().put("java", new NaggingJavaPluginConvention(objectFactory.newInstance(DefaultJavaPluginConvention.class, project, javaPluginExtension)))); return javaPluginExtension; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 19 22:14:22 UTC 2023 - 28.3K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc
This is done to reduce confusion about what such relative paths should resolve against. [[task_convention]] ==== Calling `Task.getConvention()`, `Task.getExtensions()` from a task action
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 17:01:07 UTC 2024 - 90.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ProblemReportingCrossProjectModelAccess.kt
onAccess("artifacts") delegate.artifacts(configureAction) } @Deprecated("The concept of conventions is deprecated. Use extensions instead.") override fun getConvention(): @Suppress("deprecation") org.gradle.api.plugins.Convention { onAccess("convention") @Suppress("deprecation") return delegate.convention }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 41.1K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/Task.java
* @deprecated The concept of conventions is deprecated. Use extensions if possible. * @see ExtensionAware#getExtensions() */ @Internal @Deprecated org.gradle.api.plugins.Convention getConvention(); /** * Returns the description of this task. * * @return the description. May return null. */ @Internal @Nullable String getDescription(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 17:25:12 UTC 2024 - 31.6K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc
The concept of conventions is outdated and superseded by extensions. To reflect this in the Gradle API, the following elements are now deprecated: - link:{javadocPath}/org/gradle/api/Project.html#getConvention--[org.gradle.api.Project.getConvention()] - `org.gradle.api.internal.HasConvention` (deprecated) The internal usages of conventions have been also cleaned up (see the deprecated items below).
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 15:00:23 UTC 2024 - 87.7K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/Project.java
* @deprecated The concept of conventions is deprecated. Use extensions if possible. * @see ExtensionAware#getExtensions() */ @Deprecated org.gradle.api.plugins.Convention getConvention(); /** * <p>Compares the nesting level of this project with another project of the multi-project hierarchy.</p> * * @param otherProject The project to compare the nesting level with.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 04:56:22 UTC 2024 - 74.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProperty.java
} @Override public Property<T> convention(@Nullable T value) { if (value == null) { setConvention(Providers.notDefined()); } else { setConvention(Providers.fixedValue(getValidationDisplayName(), value, type, sanitizer)); } return this; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:33:15 UTC 2024 - 6.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueState.java
/** * Sets a new convention value, replacing the existing one if set. * * @param convention the new convention value */ public abstract void setConvention(S convention); public abstract void disallowChanges(); public abstract void finalizeOnNextGet(); public abstract void disallowUnsafeRead(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 13.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/plugin/software/internal/SoftwareTypeImplementation.java
Class<? extends Plugin<Project>> getPluginClass(); Class<? extends Plugin<Settings>> getRegisteringPluginClass(); void addConvention(Convention<?> rule); List<Convention<?>> getConventions();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 16:02:34 UTC 2024 - 1.2K bytes - Viewed (0)