Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for providedRuntime (0.27 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r214/ToolingApiEclipseModelWtpClasspathAttributesCrossVersionSpec.groovy

            buildFile <<
            """apply plugin: 'java'
               apply plugin: 'war'
               apply plugin: 'eclipse-wtp'
               repositories { $localMaven }
               dependencies {
                   providedRuntime 'org.example:example-api:1.0'
                   ${implementationConfiguration} 'org.example:example-lib:1.0'
               }
               eclipse.wtp.component.rootConfigurations += [ configurations.compileClasspath ]
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/IdeaPlugin.java

                    Configuration providedRuntime = configurations.getByName(WarPlugin.PROVIDED_RUNTIME_CONFIGURATION_NAME);
                    Collection<Configuration> providedPlus = ideaModule.getModule().getScopes().get(GeneratedIdeaScope.PROVIDED.name()).get(IdeaDependenciesProvider.SCOPE_PLUS);
                    providedPlus.add(providedRuntime);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 12 14:00:13 UTC 2023
    - 25.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/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