Files
spring-ldap/sandbox/build.gradle
Josh Cummings 7afbb242bd Use api configuration
Closes gh-616
2022-01-14 08:37:12 -07:00

30 lines
744 B
Groovy

plugins {
id 'io.spring.convention.spring-module'
}
dependencies {
management platform(project(":spring-ldap-dependencies"))
api project(":spring-ldap-core")
provided "com.sun:ldapbp:1.0"
testImplementation platform('org.junit:junit-bom')
testImplementation "org.junit.vintage:junit-vintage-engine"
testImplementation "junit:junit"
testImplementation "org.mockito:mockito-core"
testImplementation "gsbase:gsbase"
testImplementation "org.assertj:assertj-core"
}
compileTestJava {
doFirst {
options.compilerArgs = [
'--add-exports', 'java.naming/com.sun.jndi.ldap=ALL-UNNAMED'
]
}
}
test {
jvmArgs '--add-exports', 'java.naming/com.sun.jndi.ldap=ALL-UNNAMED'
}