Add sandbox to build

Issue gh-610
This commit is contained in:
Josh Cummings
2022-01-12 11:58:54 -07:00
parent d10657f9ad
commit ee5b45506c
4 changed files with 35 additions and 19 deletions

View File

@@ -1,14 +1,29 @@
plugins {
id
id 'io.spring.convention.spring-module'
}
dependencies {
management platform(project(":spring-ldap-dependencies"))
implementation project(":spring-ldap-core")
provided "com.sun:ldapbp:1.0"
testCompile "junit:junit",
"org.mockito:mockito-core",
"gsbase:gsbase",
"org.assertj:assertj-core"
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'
}

View File

@@ -16,11 +16,9 @@
package org.springframework.ldap.control;
import com.sun.jndi.ldap.ctl.VirtualListViewControl;
/**
* Wrapper class for the cookie returned when using the
* {@link VirtualListViewControl}.
* {@link com.sun.jndi.ldap.ctl.VirtualListViewControl}.
*
* @author Ulrik Sandberg
*/

View File

@@ -28,14 +28,14 @@ include 'dependencies'
include 'test-support'
include 'ldif/ldif-core'
include 'odm'
////include 'sandbox'
include 'sandbox'
include 'test/integration-tests'
//include 'test/integration-tests-spring20'
//include 'test/integration-tests-spring25'
//include 'test/integration-tests-spring30'
include 'test/integration-tests-openldap'
include 'test/integration-tests-sunone'
//include 'test/integration-tests-ad'
include 'test/integration-tests-ad'
//include 'samples/plain'
//include 'samples/odm'

View File

@@ -1,17 +1,20 @@
apply plugin: 'io.spring.convention.spring-test'
dependencies {
implementation project(":spring-ldap-test"),
project(":spring-ldap-odm"),
project(":spring-ldap-core-tiger")
management platform(project(":spring-ldap-dependencies"))
implementation project(":spring-ldap-test")
implementation project(":spring-ldap-odm")
implementation project(":spring-ldap-core-tiger")
provided "org.springframework:spring-jdbc",
"org.springframework:spring-orm"
provided "org.springframework:spring-jdbc"
provided "org.springframework:spring-orm"
testImplementation "org.springframework:spring-test",
"junit:junit",
"org.slf4j:slf4j-log4j12",
"org.assertj:assertj-core"
testImplementation platform('org.junit:junit-bom')
testImplementation "org.junit.vintage:junit-vintage-engine"
testImplementation "org.springframework:spring-test"
testImplementation "junit:junit"
testImplementation "org.slf4j:slf4j-log4j12"
testImplementation "org.assertj:assertj-core"
}