Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for providedRuntime (0.3 sec)

  1. platforms/jvm/war/src/test/groovy/org/gradle/api/plugins/WarPluginTest.groovy

            project.pluginManager.apply(WarPlugin)
    
            when:
            project.dependencies {
                providedCompile project.layout.files(compileProvidedJar)
                providedRuntime project.layout.files(runtimeProvidedJar)
                implementation project.layout.files(compileJar)
                compileOnly project.layout.files(compileOnlyJar)
                runtimeOnly project.layout.files(runtimeJar)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 18:51:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/core-plugins/war_plugin.adoc

    Dependencies declared here are thus visible to the `main` and `test` compilation classpaths.
    
    `providedRuntime`::
    This configuration should be used for dependencies required at runtime but which are provided by the environment in which the WAR is deployed.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:23:16 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaModuleIntegrationTest.groovy

            assert dependencies.libraries.size() == 1
            dependencies.assertHasLibrary('PROVIDED', 'foo-1.0.jar')
        }
    
        @Test
        @ToBeFixedForConfigurationCache
        void "providedRuntime dependencies are added to PROVIDED only"() {
            // given
            mavenRepo.module('org.gradle.test', 'foo', '1.0').publish()
    
            // when
            runIdeaTask """
                apply plugin: 'war'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  4. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpPluginTest.groovy

            assert wtp.rootConfigurations == [] as Set
            assert wtp.libConfigurations == [project.configurations.runtimeClasspath] as Set
            assert wtp.minusConfigurations == [project.configurations.providedRuntime] as Set
            assert wtp.deployName == project.name
            assert wtp.contextPath == project.war.archiveBaseName.get()
            assert wtp.resources == [new WbResource('/', project.convention.plugins.war.webAppDirName)]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 08 10:14:49 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/eclipse/EclipseWtpPlugin.java

                    libConfigurations.add(JavaPluginHelper.getJavaComponent(project).getMainFeature().getRuntimeClasspathConfiguration());
                    minusConfigurations.add(project.getConfigurations().getByName("providedRuntime"));
                    component.setClassesDeployPath("/WEB-INF/classes");
                    ConventionMapping convention = ((IConventionAware) component).getConventionMapping();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    The following configurations were never meant to be consumed:
    
     - The `antlr` configuration created by the `AntlrPlugin`
     - The `zinc` configuration created by the `ScalaBasePlugin`
     - The `providedCompile` and `providedRuntime` configurations created by the `WarPlugin`
    
    These configurations were deprecated for consumption and are now no longer consumable.
    Attempting to consume them will result in an error.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_maven.adoc

    `provided`::
    Use the `compileOnly` configuration.
    +
    Note that the <<war_plugin#sec:war_dependency_management,War Plugin>> adds `providedCompile` and `providedRuntime` dependency configurations.
    These behave slightly differently from `compileOnly` and simply ensure that those dependencies aren't packaged in the WAR file.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 40.6K bytes
    - Viewed (0)
Back to top