43 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Groovy
		
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Groovy
		
	
	
	
| muzzle {
 | |
|   pass {
 | |
|     group = "org.apache.kafka"
 | |
|     module = "kafka-streams"
 | |
|     versions = "[0.11.0.0,)"
 | |
|   }
 | |
| }
 | |
| 
 | |
| apply from: "${rootDir}/gradle/java.gradle"
 | |
| 
 | |
| apply plugin: 'org.unbroken-dome.test-sets'
 | |
| 
 | |
| testSets {
 | |
|   latestDepTest {
 | |
|     dirName = 'test'
 | |
|   }
 | |
| }
 | |
| 
 | |
| dependencies {
 | |
|   compileOnly group: 'org.apache.kafka', name: 'kafka-streams', version: '0.11.0.0'
 | |
| 
 | |
|   // Include kafka-clients instrumentation for tests.
 | |
|   testCompile project(':dd-java-agent:instrumentation:kafka-clients-0.11')
 | |
| 
 | |
|   testCompile group: 'org.apache.kafka', name: 'kafka-clients', version: '0.11.0.0'
 | |
|   testCompile group: 'org.apache.kafka', name: 'kafka-streams', version: '0.11.0.0'
 | |
|   testCompile group: 'org.springframework.kafka', name: 'spring-kafka', version: '1.3.3.RELEASE'
 | |
|   testCompile group: 'org.springframework.kafka', name: 'spring-kafka-test', version: '1.3.3.RELEASE'
 | |
|   testCompile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.2.3'
 | |
|   testCompile group: 'org.assertj', name: 'assertj-core', version: '2.9.+'
 | |
|   testCompile group: 'org.mockito', name: 'mockito-core', version: '2.19.0'
 | |
| 
 | |
| 
 | |
|   // Include latest version of kafka itself along with latest version of client libs.
 | |
|   // This seems to help with jar compatibility hell.
 | |
|   latestDepTestCompile group: 'org.apache.kafka', name: 'kafka_2.11', version: '+'
 | |
|   latestDepTestCompile group: 'org.apache.kafka', name: 'kafka-clients', version: '+'
 | |
|   latestDepTestCompile group: 'org.apache.kafka', name: 'kafka-streams', version: '+'
 | |
|   latestDepTestCompile group: 'org.springframework.kafka', name: 'spring-kafka', version: '2.2.+'
 | |
|   latestDepTestCompile group: 'org.springframework.kafka', name: 'spring-kafka-test', version: '2.2.+'
 | |
|   latestDepTestCompile group: 'org.assertj', name: 'assertj-core', version: '3.+'
 | |
| }
 |