Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 635 for earlib (0.7 sec)

  1. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpJavaEarSingleProjectIntegrationTest.groovy

            buildFile <<
            """apply plugin: 'eclipse-wtp'
               apply plugin: 'ear'
               apply plugin: 'java'
    
               repositories { $localMaven }
    
               dependencies {
                   earlib 'org.example:lib1-impl:1.0'
                   deploy 'org.example:lib2-impl:2.0'
               }
            """
    
            when:
            run 'eclipse'
    
            then:
            // Builders and natures
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpEarProjectIntegrationTest.groovy

            buildFile <<
            """apply plugin: 'eclipse-wtp'
               apply plugin: 'ear'
    
               repositories { $localMaven }
    
               dependencies {
                   earlib 'org.example:lib1-impl:1.0'
                   deploy 'org.example:lib2-impl:2.0'
               }
            """
    
            when:
            run 'eclipse'
    
            then:
            // Builders and natures
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. platforms/jvm/ear/src/integTest/groovy/org/gradle/plugins/ear/EarPluginIntegrationTest.groovy

        def "setup"() {
            file("rootLib.jar").createNewFile()
            file("earLib.jar").createNewFile()
    
            file("settings.gradle").write("rootProject.name='root'")
        }
    
        void "creates ear archive"() {
            buildFile << """
    apply plugin: 'ear'
    
    dependencies {
        deploy files('rootLib.jar')
        earlib files('earLib.jar')
    }
    
    """
            when:
            run 'assemble'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  4. platforms/jvm/ear/src/test/groovy/org/gradle/plugins/ear/EarPluginTest.groovy

        }
    
        def "depends on earlib config"() {
            when:
            project.pluginManager.apply(EarPlugin)
    
            and:
            def childProject = TestUtil.createChildProject(project, 'child')
            childProject.pluginManager.apply(JavaPlugin)
    
            and:
            project.dependencies {
                earlib project(path: childProject.path, configuration: 'archives')
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 14:55:02 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/ear/earWithWar/kotlin/build.gradle.kts

    // tag::use-ear-plugin[]
    plugins {
        ear
    }
    // end::use-ear-plugin[]
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        deploy(project(path = ":war", configuration = "war"))
    
        earlib(group = "log4j", name = "log4j", version = "1.2.15", ext = "jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 261 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/ear/earWithWar/groovy/build.gradle

    // tag::use-ear-plugin[]
    plugins {
        id 'ear'
    }
    // end::use-ear-plugin[]
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        deploy project(path: ':war', configuration: 'war')
    
        earlib group: 'log4j', name: 'log4j', version: '1.2.15', ext: 'jar'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 258 bytes
    - Viewed (0)
  7. platforms/jvm/ear/src/main/java/org/gradle/plugins/ear/EarPlugin.java

        public static final String EAR_TASK_NAME = "ear";
    
        public static final String DEPLOY_CONFIGURATION_NAME = "deploy";
        public static final String EARLIB_CONFIGURATION_NAME = "earlib";
    
        static final String DEFAULT_LIB_DIR_NAME = "lib";
    
        private final ObjectFactory objectFactory;
        private final JvmPluginServices jvmPluginServices;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 12 16:57:15 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/ear/earCustomized/kotlin/ear/build.gradle.kts

        deploy(project(path = ":war", configuration = "war"))
    
        // The following dependencies will become ear libs and will
        // be placed in a dir configured via the libDirName property
        earlib(group = "log4j", name = "log4j", version = "1.2.15", ext = "jar")
    }
    
    tasks.ear {
        appDirectory = file("src/main/app")  // use application metadata found in this folder
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/ear/earCustomized/groovy/ear/build.gradle

        // will be placed in the ear root
        deploy project(path: ':war', configuration: 'war')
    
        // The following dependencies will become ear libs and will
        // be placed in a dir configured via the libDirName property
        earlib group: 'log4j', name: 'log4j', version: '1.2.15', ext: 'jar'
    }
    
    tasks.named('ear') {
        appDirectory = file('src/main/app')  // use application metadata found in this folder
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r214/ToolingApiEclipseModelWtpClasspathAttributesCrossVersionSpec.groovy

            """apply plugin: 'ear'
               apply plugin: 'java'
               apply plugin: 'eclipse'
               repositories { $localMaven }
               dependencies { earlib 'org.example:example-api:1.0' }
               eclipse.classpath.plusConfigurations << configurations.earlib
               ear { libDirName = '/custom/lib/dir' }
            """
    
            when:
            EclipseProject eclipseProject = loadToolingModel(EclipseProject)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.3K bytes
    - Viewed (0)
Back to top