您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

build.gradle 569B

123456789101112131415161718192021
  1. sourceSets {
  2. integTest {
  3. java.srcDirs = ['integ-test']
  4. }
  5. }
  6. task integTest(type: Test) {
  7. testClassesDir = sourceSets.integTest.output.classesDir
  8. classpath = sourceSets.integTest.runtimeClasspath
  9. }
  10. check.dependsOn integTest
  11. dependencies {
  12. compile find("common")
  13. integTestCompile sourceSets.main.output
  14. integTestCompile configurations.testCompile
  15. integTestCompile sourceSets.test.output
  16. integTestCompile group: 'com.github.docker-java', name: 'docker-java', version: '3.0.0'
  17. integTestRuntime configurations.testRuntime
  18. }