-
Notifications
You must be signed in to change notification settings - Fork 2k
/
Copy pathbuild.gradle
75 lines (64 loc) · 2.67 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
apply plugin: 'opensearch.internal-cluster-test'
opensearchplugin {
description = 'Plugin for identity features in OpenSearch.'
classname = 'org.opensearch.identity.shiro.ShiroIdentityPlugin'
name = project.name
licenseFile = rootProject.file('licenses/APACHE-LICENSE-2.0.txt')
noticeFile = rootProject.file('NOTICE.txt')
}
dependencies {
implementation 'org.apache.shiro:shiro-core:1.13.0'
// Needed for shiro
implementation "org.slf4j:slf4j-api:${versions.slf4j}"
implementation 'commons-beanutils:commons-beanutils:1.9.4'
implementation 'commons-logging:commons-logging:1.2'
implementation 'commons-lang:commons-lang:2.6'
implementation 'org.passay:passay:1.6.3'
implementation "org.bouncycastle:bcprov-jdk18on:${versions.bouncycastle}"
testImplementation project(path: ':modules:transport-netty4') // for http
testImplementation project(path: ':plugins:transport-nio') // for http
testImplementation "org.mockito:mockito-core:${versions.mockito}"
testImplementation project(path: ':client:rest-high-level')
testImplementation 'junit:junit:4.13.2'
}
/*
* We have to disable setting the number of available processors as tests in the same JVM randomize processors and will step on each
* other if we allow them to set the number of available processors as it's set-once in Netty.
*/
test {
systemProperty 'opensearch.set.netty.runtime.available.processors', 'false'
}
internalClusterTest {
systemProperty 'opensearch.set.netty.runtime.available.processors', 'false'
}
thirdPartyAudit.ignoreMissingClasses(
'com.google.common.hash.BloomFilter',
'javax.servlet.ServletContextEvent',
'javax.servlet.ServletContextListener',
'org.apache.avalon.framework.logger.Logger',
'org.apache.commons.collections.Closure',
'org.apache.commons.collections.FastHashMap',
'org.apache.commons.collections.Predicate',
'org.apache.commons.collections.Transformer',
'org.apache.commons.collections.comparators.ComparableComparator',
'org.apache.commons.collections.keyvalue.AbstractMapEntry',
'org.apache.commons.configuration2.interpol.ConfigurationInterpolator',
'org.apache.log.Hierarchy',
'org.apache.log.Logger',
'org.apache.log4j.Level',
'org.apache.log4j.Logger',
'org.apache.log4j.Priority',
'org.cryptacular.bean.HashBean',
'org.slf4j.impl.StaticLoggerBinder',
'org.slf4j.impl.StaticMDCBinder',
'org.slf4j.impl.StaticMarkerBinder',
'org.springframework.context.MessageSource',
'org.springframework.context.support.MessageSourceAccessor'
)