plugins { id 'org.springframework.boot' version '2.5.2' id 'io.spring.dependency-management' version '1.0.10.RELEASE' id 'java' } repositories { jcenter() maven { url "https://repo.spring.io/snapshot" } } dependencies { implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.security:spring-security-ldap' implementation 'com.unboundid:unboundid-ldapsdk:6.0.0' testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation 'org.springframework.security:spring-security-test' } tasks.withType(Test).configureEach { useJUnitPlatform() }