Hi! I’m just starting my adventure with Java and so on, and my task is to prepare environment for SOAP.
When I try to add dependencies to .build.gradle
compile(‘javax.xml.bind:jaxb-api:2.3.0’)
compile(‘javax.activation:activation:1.1’)
compile(‘org.glassfish.jaxb:jaxb-runtime:2.3.0’)
I get that error:
A problem occurred evaluating root project ‘project-soap’.
Could not find method compile() for arguments [javax.xml.bind:jaxb-api:2.3.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
I really need a hand to fix that, please help