SOAP configuration

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 :slight_smile:

You probably haven’t added the “java” plugin to your project, so the “compile” configuration has not been added to the project