Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 213 for Deprecation (0.28 sec)

  1. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeAnnotatedMethodReader.java

        private DeprecationSpec readDeprecationSpec(AnnotationMirror annotation) {
            AnnotationMirror deprecation = AnnotationUtils.findAnnotationValueWithDefaults(elements, annotation, "deprecation")
                .map(v -> (AnnotationMirror) v.getValue())
                .orElseThrow(() -> new AnnotationReadFailure(String.format("Missing 'deprecation' attribute in @%s", ReplacesEagerProperty.class.getSimpleName())));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/ProjectDelegate.kt

        override fun getConvention(): @Suppress("deprecation") org.gradle.api.plugins.Convention =
            @Suppress("deprecation")
            delegate.convention
    
        override fun getLogger(): Logger =
            delegate.logger
    
        @Deprecated("Use layout.buildDirectory instead", ReplaceWith("layout.buildDirectory.get().asFile"))
        override fun getBuildDir(): File =
            @Suppress("DEPRECATION")
            delegate.buildDir
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:16:16 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/DependencyHandlerExtensions.kt

     */
    @Suppress("DEPRECATION")
    @Deprecated("Will be removed in Gradle 9.0")
    fun DependencyHandler.module(
        notation: Any,
        clientModuleConfiguration: ClientModuleScope.() -> Unit
    ): org.gradle.api.artifacts.ClientModule =
    
        configureClientModule(module(notation) as org.gradle.api.artifacts.ClientModule, clientModuleConfiguration)
    
    
    @Suppress("DEPRECATION")
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 11K bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/main/java/org/gradle/api/plugins/HelpTasksPlugin.java

            });
            tasks.withType(TaskReportTask.class).configureEach(task -> {
                task.getShowTypes().convention(false);
            });
        }
    
        @SuppressWarnings("deprecation")
        private void registerDeprecatedTasks(TaskContainer tasks, String projectName) {
            tasks.register(COMPONENTS_TASK, org.gradle.api.reporting.components.ComponentReport.class, new ComponentReportAction(projectName));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 30 16:15:23 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-application/src/main/java/org/gradle/api/plugins/ApplicationPlugin.java

                        }
                    }
                }
            }
        }
    
        @SuppressWarnings("deprecation")
        private JavaApplication addExtension(Project project) {
            @SuppressWarnings("deprecation") ApplicationPluginConvention pluginConvention = project.getObjects().newInstance(DefaultApplicationPluginConvention.class, project);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationContainer.java

    import org.gradle.internal.artifacts.configurations.AbstractRoleBasedConfigurationCreationRequest;
    import org.gradle.internal.artifacts.configurations.NoContextRoleBasedConfigurationCreationRequest;
    import org.gradle.internal.deprecation.DeprecationLogger;
    import org.gradle.internal.reflect.Instantiator;
    import org.gradle.util.GradleVersion;
    
    import javax.annotation.Nullable;
    import java.util.Arrays;
    import java.util.HashSet;
    import java.util.Set;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 00:10:35 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  7. platforms/jvm/language-jvm/src/main/java/org/gradle/api/tasks/compile/CompileOptions.java

         */
        @Console
        public boolean isDeprecation() {
            return deprecation;
        }
    
        /**
         * Sets whether to log details of usage of deprecated members or classes. Defaults to {@code false}.
         */
        public void setDeprecation(boolean deprecation) {
            this.deprecation = deprecation;
        }
    
        /**
         * Tells whether to log warning messages. The default is {@code true}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilderTest.groovy

            then:
            builder.build() == defaultOptions
        }
    
        def "generates -deprecation option"() {
            when:
            spec.compileOptions.deprecation = true
    
            then:
            builder.build() == ["-deprecation"] + defaultOptions
    
            when:
            spec.compileOptions.deprecation = false
    
            then:
            builder.build() == defaultOptions
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:36 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/DeprecatedConfigurationUsageIntegrationTest.groovy

        }
    
        def "calling an invalid public API method #methodName for role #role produces a deprecation warning"() {
            given:
            buildFile << """
                import org.gradle.api.internal.artifacts.configurations.ConfigurationRole
    
                configurations.$role('custom')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 02:32:37 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java

        /**
         * Expects exactly the given deprecation warning.
         *
         * This may show up with a strikethrough in IntelliJ as if it were deprecated.  This method is still okay to use.  You can
         * also switch to the more specific {@link #expectDocumentedDeprecationWarning(String)} if the warning includes a documentation
         * link and you don't want to (ironically) see code testing deprecation appearing as if it itself were deprecated.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top