plugins { id 'java' } dependencies { implementation 'javax:javaee-api:8.0.1' // wildfly 10 version I use :-) implementation 'org.slf4j:slf4j-api:1.7.22' testImplementation 'junit:junit:4.12' }