blob: 73fbdb64d30e67fd817236b78e92ea7f3aab0087 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
plugins {
id 'standard-subproject-configuration'
id 'geode-publish-java'
}
compileJava {
options.compilerArgs << '-Xlint:-sunapi'
options.compilerArgs << '-XDenableSunApiLintControl'
}
dependencies {
api(platform(project(':boms:geode-all-bom')))
testImplementation(project(':geode-common'))
compileOnly(project(':geode-core'))
compileOnly(project(':geode-membership'))
compileOnly(project(':geode-logging'))
compileOnly(project(':geode-serialization'))
compileOnly(project(':geode-unsafe'))
compileOnly(project(':geode-gfsh'))
api('junit:junit') {
exclude module: 'hamcrest'
}
api('org.junit.jupiter:junit-jupiter-api')
api('org.junit.jupiter:junit-jupiter-params')
api('org.assertj:assertj-core')
api('org.mockito:mockito-core')
api('io.github.classgraph:classgraph')
api('com.fasterxml.jackson.core:jackson-annotations')
api('com.fasterxml.jackson.core:jackson-databind')
api('joda-time:joda-time')
api('com.github.stefanbirkner:system-rules') {
exclude module: 'junit-dep'
}
api('com.google.guava:guava')
api('com.jayway.jsonpath:json-path')
api('commons-io:commons-io')
api('org.apache.commons:commons-lang3')
api('org.apache.logging.log4j:log4j-api')
api('org.awaitility:awaitility')
api('org.hamcrest:hamcrest')
api('io.micrometer:micrometer-core')
api('org.skyscreamer:jsonassert')
implementation('org.junit.jupiter:junit-jupiter-engine')
implementation('org.junit.vintage:junit-vintage-engine')
implementation('pl.pragmatists:JUnitParams')
integrationTestImplementation(project(':geode-core'))
integrationTestImplementation(project(':geode-serialization'))
}
test {
// Some tests have inner tests that should be ignored
exclude "**/*\$*.class"
}
integrationTest {
// Some tests have inner tests that should be ignored
exclude "**/*\$*.class"
}