Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for pathVariables (0.2 sec)

  1. platforms/documentation/docs/src/docs/dsl/org.gradle.plugins.ide.eclipse.model.EclipseModel.xml

                </tr>
                <tr>
                    <td>jdt</td>
                </tr>
                <tr>
                    <td>wtp</td>
                </tr>
                <tr>
                    <td>pathVariables</td>
                </tr>
            </table>
        </section>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseWtp.java

     * plugins {
     *     id 'war' // or 'ear' or 'java'
     *     id 'eclipse-wtp'
     * }
     *
     * eclipse {
     *
     *   //if you want parts of paths in resulting file(s) to be replaced by variables (files):
     *   pathVariables 'GRADLE_HOME': file('/best/software/gradle'), 'TOMCAT_HOME': file('../tomcat')
     *
     *   wtp {
     *     component {
     *       //for examples see docs for {@link EclipseWtpComponent}
     *     }
     *
     *     facet {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpModelIntegrationTest.groovy

               ${mavenCentralRepository()}
    
               dependencies {
                   runtimeOnly 'commons-io:commons-io:1.4'
                   runtimeOnly files('libs/myFoo.jar')
               }
    
               eclipse.pathVariables MY_LIBS: file('libs')
            """
    
            //when
            executer.withTasks("eclipse").run()
    
            //then
            def classpath = getClasspath()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathIntegrationTest.groovy

    repositories {
        maven { url "${mavenRepo.uri}" }
    }
    
    dependencies {
        implementation 'coolGroup:niceArtifact:1.0'
        implementation files('lib/dep.jar')
    }
    
    eclipse {
        pathVariables REPO_DIR: file('${mavenRepo.uri}')
        pathVariables LIB_DIR: file('lib')
        classpath.downloadJavadoc = true
    }
    """
    
            //then
            def libraries = classpath.vars
            assert libraries.size() == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 36.8K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaIntegrationTest.groovy

            runIdeaTask """
        apply plugin: "java"
        apply plugin: "idea"
    
        repositories {
            maven { url "${repoDir.toURI()}" }
        }
    
        idea {
           pathVariables("GRADLE_REPO": file("repo"))
        }
    
        dependencies {
            implementation "myGroup:myArtifact1:1.0"
        }
                """
    
            def module = parseImlFile("root")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/core-plugins/idea_plugin.adoc

    IDEA files are absolute. If you manually define a path variable pointing to the Gradle dependency cache, IDEA will automatically replace the absolute dependency paths with this path variable. you can configure this path variable via the “`idea.pathVariables`” property, so that it can do a proper merge without creating duplicates....
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  7. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaModuleIntegrationTest.groovy

            }
    
            //when
            runTask 'idea', '''
    apply plugin: "java"
    apply plugin: "idea"
    
    configurations {
      provided
      compileClasspath.extendsFrom(provided)
    }
    
    idea {
        pathVariables CUSTOM_VARIABLE: file('customModuleContentRoot').parentFile
    
        module {
            name = 'foo'
            contentRoot = file('customModuleContentRoot')
    
            sourceDirs += file('additionalCustomSources')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 24.4K bytes
    - Viewed (0)
Back to top