Add core to build
Issue gh-610
This commit is contained in:
@@ -19,6 +19,8 @@ dependencies {
|
|||||||
implementation "org.springframework:spring-tx"
|
implementation "org.springframework:spring-tx"
|
||||||
implementation "org.slf4j:slf4j-api"
|
implementation "org.slf4j:slf4j-api"
|
||||||
|
|
||||||
|
provided "com.sun:ldapbp:1.0"
|
||||||
|
|
||||||
optional "org.springframework:spring-context"
|
optional "org.springframework:spring-context"
|
||||||
optional "org.springframework:spring-jdbc"
|
optional "org.springframework:spring-jdbc"
|
||||||
optional "org.springframework:spring-orm"
|
optional "org.springframework:spring-orm"
|
||||||
@@ -28,7 +30,8 @@ dependencies {
|
|||||||
optional "org.apache.commons:commons-pool2"
|
optional "org.apache.commons:commons-pool2"
|
||||||
implementation 'jakarta.xml.bind:jakarta.xml.bind-api'
|
implementation 'jakarta.xml.bind:jakarta.xml.bind-api'
|
||||||
|
|
||||||
provided "com.sun:ldapbp:1.0"
|
testImplementation platform('org.junit:junit-bom')
|
||||||
|
testImplementation "org.junit.vintage:junit-vintage-engine"
|
||||||
|
|
||||||
testImplementation "junit:junit"
|
testImplementation "junit:junit"
|
||||||
testImplementation "commons-lang:commons-lang"
|
testImplementation "commons-lang:commons-lang"
|
||||||
@@ -37,4 +40,17 @@ dependencies {
|
|||||||
testImplementation "org.mockito:mockito-inline"
|
testImplementation "org.mockito:mockito-inline"
|
||||||
testImplementation "org.springframework:spring-test"
|
testImplementation "org.springframework:spring-test"
|
||||||
testImplementation "org.assertj:assertj-core"
|
testImplementation "org.assertj:assertj-core"
|
||||||
|
testImplementation "com.unboundid:unboundid-ldapsdk"
|
||||||
|
}
|
||||||
|
|
||||||
|
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'
|
||||||
}
|
}
|
||||||
@@ -15,8 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
package org.springframework.ldap.control;
|
package org.springframework.ldap.control;
|
||||||
|
|
||||||
import com.sun.jndi.ldap.ctl.PagedResultsControl;
|
import javax.naming.ldap.PagedResultsControl;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ public class PagedResultsDirContextProcessorTest {
|
|||||||
|
|
||||||
private LdapContext ldapContextMock;
|
private LdapContext ldapContextMock;
|
||||||
|
|
||||||
private PagedResultsDirContextProcessor tested;
|
private PagedResultsDirContextProcessor tested;
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
public void setUp() throws Exception {
|
public void setUp() throws Exception {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
package org.springframework.ldap.control;
|
package org.springframework.ldap.control;
|
||||||
|
|
||||||
import com.sun.jndi.ldap.ctl.SortControl;
|
import javax.naming.ldap.SortControl;
|
||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ public class SortControlDirContextProcessorTest {
|
|||||||
|
|
||||||
private LdapContext ldapContextMock;
|
private LdapContext ldapContextMock;
|
||||||
|
|
||||||
private SortControlDirContextProcessor tested;
|
private SortControlDirContextProcessor tested;
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
public void setUp() throws Exception {
|
public void setUp() throws Exception {
|
||||||
|
|||||||
1
dependencies/build.gradle
vendored
1
dependencies/build.gradle
vendored
@@ -19,6 +19,7 @@ dependencies {
|
|||||||
api platform("io.rsocket:rsocket-bom:1.1.1")
|
api platform("io.rsocket:rsocket-bom:1.1.1")
|
||||||
api platform("org.springframework.data:spring-data-bom:2022.1.0-SNAPSHOT")
|
api platform("org.springframework.data:spring-data-bom:2022.1.0-SNAPSHOT")
|
||||||
api platform("com.fasterxml.jackson:jackson-bom:2.13.0")
|
api platform("com.fasterxml.jackson:jackson-bom:2.13.0")
|
||||||
|
api platform("org.junit:junit-bom:5.8.1")
|
||||||
constraints {
|
constraints {
|
||||||
api "com.querydsl:querydsl-core:$queryDslVersion"
|
api "com.querydsl:querydsl-core:$queryDslVersion"
|
||||||
api "com.querydsl:querydsl-apt:$queryDslVersion"
|
api "com.querydsl:querydsl-apt:$queryDslVersion"
|
||||||
|
|||||||
Reference in New Issue
Block a user