Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 397 for Deprecation (0.22 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProviderConventionMappingIntegrationTest.groovy

        }
    
        def "emits deprecation warning when convention mapping is used with Provider"() {
            buildFile << """
                abstract class MyTask extends DefaultTask {
                    @Inject abstract ProviderFactory getProviderFactory()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 12:27:37 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/ProblemProgressEventCrossVersionTest.groovy

                    problems.forNamespace("org.example.plugin").reporting {
                        it.${targetVersion < GradleVersion.version("8.8") ? 'label("The \'standard-plugin\' is deprecated").category("deprecation", "plugin")' : 'id("adhoc-deprecation", "The \'standard-plugin\' is deprecated")' }
                            .severity(Severity.WARNING)
                            .solution("Please use 'standard-plugin-2' instead of this plugin")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 11:36:58 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r88/ProblemProgressEventCrossVersionTest.groovy

            then:
            thrown(BuildException)
            listener.problems.size() == 0
        }
    
        def "Problems expose summary Tooling API events"() {
            given:
            withMultipleProblems("id(\"deprecation\", \"The 'standard-plugin' is deprecated\")")
    
            when:
            def listener = new ProblemProgressListener()
            withConnection { connection ->
                connection.newBuild().forTasks('reportProblem')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 07:55:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/artifacts/FileCollectionDependency.java

    import java.io.File;
    import java.util.Set;
    
    /**
     * A {@code FileCollectionDependency} is a {@link Dependency} on a collection of local files which are not stored in a
     * repository.
     */
    @SuppressWarnings("deprecation") // Because of SelfResolvingDependency
    public interface FileCollectionDependency extends SelfResolvingDependency {
        /**
         * Returns the files attached to this dependency.
         *
         * @since 3.3
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 11:17:19 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationMessage.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.deprecation;
    
    import org.gradle.api.problems.internal.DocLink;
    
    import javax.annotation.Nullable;
    
    class DeprecationMessage {
    
        private final String summary;
        private final String removalDetails;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 27 15:25:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/exception/ArtifactVariantSelectionException.java

     *
     * Note: Temporarily non-{@code final}, so long as {@link org.gradle.internal.component.AmbiguousVariantSelectionException} is not yet removed.
     */
    @SuppressWarnings("deprecation")
    public class ArtifactVariantSelectionException extends AbstractResolutionFailureException {
        public ArtifactVariantSelectionException(String message, ResolutionFailure failure, List<String> resolutions) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 21:57:29 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractConsoleDeprecationMessageGroupedTaskFunctionalTest.groovy

        def "compiler warnings emitted from compilation task are grouped"() {
            given:
            def javaSourceFile = file("$JAVA_SRC_DIR_PATH/MyClass.java")
            def expectedOutput = "${javaSourceFile.absolutePath}:4: warning: [deprecation] Legacy in unnamed package has been deprecated"
    
            buildFile << """
                apply plugin: 'java'
    
                compileJava {
                    options.compilerArgs = ['-Xlint:all']
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/initialization/ConfigurationCacheStartParameter.kt

    import org.gradle.internal.buildoption.InternalOptions
    import org.gradle.internal.buildoption.StringInternalOption
    import org.gradle.internal.buildtree.BuildModelParameters
    import org.gradle.internal.deprecation.DeprecationLogger
    import org.gradle.internal.service.scopes.Scope
    import org.gradle.internal.service.scopes.ServiceScope
    import org.gradle.util.internal.SupportedEncryptionAlgorithm
    import java.io.File
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. platforms/jvm/language-jvm/src/main/java/org/gradle/api/tasks/compile/AbstractCompile.java

    import org.gradle.api.provider.Provider;
    import org.gradle.api.tasks.Classpath;
    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.OutputDirectory;
    import org.gradle.api.tasks.SourceTask;
    import org.gradle.internal.deprecation.DeprecationLogger;
    import org.gradle.internal.instrumentation.api.annotations.ReplacedAccessor;
    import org.gradle.internal.instrumentation.api.annotations.ReplacedDeprecation;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DocumentationTest.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.deprecation
    
    import org.gradle.api.internal.DocumentationRegistry
    import spock.lang.Specification
    
    class DocumentationTest extends Specification {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 15:24:26 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top