mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-10-31 18:59:23 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Groovy
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Groovy
		
	
	
	
	
	
| plugins {
 | |
|   id 'java'
 | |
|   id 'jacoco'
 | |
| }
 | |
| 
 | |
| dependencies {
 | |
|   implementation externalDependency.slf4jApi
 | |
|   compileOnly externalDependency.lombok
 | |
|   annotationProcessor externalDependency.lombok
 | |
| 
 | |
|   implementation externalDependency.typesafeConfig
 | |
|   implementation externalDependency.opentracingJdbc
 | |
| 
 | |
|   implementation project(path: ':metadata-integration:java:datahub-client', configuration: 'shadow')
 | |
|   implementation externalDependency.httpClient
 | |
| 
 | |
|   // Tests need a concrete log4j available. Providing it here
 | |
|   testImplementation 'org.apache.logging.log4j:log4j-api:2.17.1'
 | |
|   testImplementation 'org.apache.logging.log4j:log4j-core:2.17.1'
 | |
| 
 | |
|   testImplementation externalDependency.mockito
 | |
| 
 | |
| }
 | |
| 
 | |
| 
 | |
| test {
 | |
|   forkEvery = 1
 | |
|   useJUnit()
 | |
|   finalizedBy jacocoTestReport
 | |
| }
 | |
| 
 | |
| task integrationTest(type: Exec, dependsOn: [build, ':docker:quickstart'] ) {
 | |
|     environment "RUN_QUICKSTART", "false"
 | |
|     commandLine "java-sdk-smoke-test/smoke.sh"
 | |
| }
 | |
| 
 | |
| jacocoTestReport {
 | |
|     dependsOn test // tests are required to run before generating the report
 | |
| } | 
