Permalink
Browse files

add emma configuration to test classpath

  • Loading branch information...
1 parent 298f15f commit 5d87e509a44468e7683cf53621ce728c8f12e17e Rene Groeschke committed Apr 15, 2010
Showing with 3 additions and 9 deletions.
  1. +2 −2 emmaPlugin/emma.gradle
  2. +1 −7 emmaPlugin/sample/build.gradle
View
@@ -5,7 +5,7 @@ String EMMA_COVERAGE_FILE_NAME_PATH = "coverage"
String EMMA_TMP_DIR = "$buildDir/tmp/emma"
String EMMA_INSTR_DIR = EMMA_TMP_DIR + "/instr"
String EMMA_META_DATA_FILEPATH = EMMA_TMP_DIR + "/metadata.emma"
-String EMMA_VERBOSITY_LEVEL = "quiet"
+String EMMA_VERBOSITY_LEVEL = "info"
configurations{
emma
@@ -27,8 +27,8 @@ test{
fileset(dir:sourceSets.main.classesDir.absolutePath, includes:"*.class")
}
}
- setClasspath(files(EMMA_INSTR_DIR) + getClasspath())
}
+ setClasspath(files(EMMA_INSTR_DIR) + configurations.emma + getClasspath())
}
doLast{
@@ -1,19 +1,13 @@
apply plugin:'java'
-apply from:'../emma.gradle'
+apply from:'http://github.com/breskeby/gradleplugins/raw/master/emmaPlugin/emma.gradle'
repositories{
mavenCentral()
}
-configurations{
- emma
-}
-
-
dependencies{
emma "emma:emma:2.0.5312"
emma "emma:emma_ant:2.0.5312"
testCompile "junit:junit:4.7"
- testCompile "emma:emma:2.0.5312"
}

0 comments on commit 5d87e50

Please sign in to comment.