datahub/gms/impl/build.gradle
Rickard Cardell 3252e92a16
feat: neo4j Bolt TLS support (#2100) (#2145)
* Bumping version of neo4j-java-driver to include encryption support that came in 4.0.1.
2021-03-01 12:55:46 -08:00

70 lines
1.9 KiB
Groovy

apply plugin: 'java'
apply plugin: 'pegasus'
sourceSets {
integTest {
compileClasspath += sourceSets.main.output
runtimeClasspath += sourceSets.main.output
}
}
idea{
module {
testSourceDirs += file('src/integTest/java')
scopes.TEST.plus += [ configurations.integTestCompile ]
}
}
configurations {
integTestImplementation.extendsFrom implementation
integTestRuntimeOnly.extendsFrom runtimeOnly
}
dependencies {
compile project(':gms:api')
compile project(path: ':gms:api', configuration: 'dataTemplate')
compile project(':li-utils')
compile project(':metadata-models')
compile project(':metadata-testing:metadata-test-utils')
compile spec.product.pegasus.restliServer
compile externalDependency.gmaDaoApi
compile externalDependency.gmaDaoApiDataTemplate
compile externalDependency.gmaEbeanDao
compile externalDependency.gmaElasticsearchDao
compile externalDependency.gmaNeo4jDao
compile externalDependency.gmaRestliResources
compile externalDependency.gmaRestliResourcesDataTemplate
compile externalDependency.neo4jJavaDriver
compileOnly externalDependency.lombok
testCompile externalDependency.parseqTest
testCompile externalDependency.mockito
testCompile externalDependency.testng
integTestImplementation externalDependency.junitJupiterApi
integTestRuntimeOnly externalDependency.junitJupiterEngine
integTestCompile externalDependency.gmaElasticsearchIntegTest
integTestCompile externalDependency.junitJupiterApi
integTestCompile externalDependency.junitJupiterParams
}
task integrationTest(type: Test) {
description = 'Runs integration tests.'
group = 'verification'
useJUnitPlatform()
testClassesDirs = sourceSets.integTest.output.classesDirs
classpath = sourceSets.integTest.runtimeClasspath
shouldRunAfter test
}
check.dependsOn integrationTest
// Generate IDLs
pegasus.main.idlOptions.addIdlItem([
'com.linkedin.metadata.resources',
])
ext.apiProject = project(':gms:api')