I got a simple project with the following build.gradle content:
apply plugin: 'java-library'
apply plugin: 'war'
apply plugin: 'eclipse-wtp'
repositories {
jcenter()
mavenLocal()
}
dependencies {
implementation 'javax.cache:cache-api:1.+'
implementation 'org.ehcache:ehcache:3.+'
compileOnly 'javax:javaee-api:7.0'
}
When being compiled using gradle the implementation libraries will be in the WEB-INF/lib folder. Deploying the projects in Eclipse, those libraries are missing.
When using the java plugin the libraries where deployed… Is this a known issue?
Tools used:
Eclipse Oxygen
Buildship 2.1.2
Gradle 4.1