jar does not include wsdl dependency

not-a-bug

(Mario Gonzalez Sanchez) #1

I have a project which has as dependency a client ws, which I consult certain info. but when compiling this it throws me the next exception.
Can not find ‘xxxxx.wsdl’ wsdl. Place the resource correctly in the classpath, someone knows how to configure my file to include this. thank you very much

buildscript {
repositories {
    mavenCentral()
}
dependencies {
    classpath("org.springframework.boot:spring-boot-gradle-plugin:2.0.3.RELEASE")
}

}

apply plugin: ‘java’
apply plugin: ‘eclipse’
apply plugin: ‘org.springframework.boot’
apply plugin: ‘io.spring.dependency-management’

repositories {
mavenCentral()
}

bootJar {
baseName = ‘api-xcash’
version = ‘0.1.0’
}

sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {

compile("org.springframework.boot:spring-boot-starter-web")
testCompile group: 'org.springframework.boot', name: 'spring-boot-starter-test', version: '2.0.3.RELEASE'

compile group: 'javax.ws.rs', name: 'javax.ws.rs-api', version: '2.1'
compile group: 'org.glassfish.jersey.media', name: 'jersey-media-json-jackson', version: '2.27'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.7'
compile group: 'commons-validator', name: 'commons-validator', version: '1.4.1'

}