File tree 3 files changed +12
-2
lines changed
main/groovy/org/scoverage
3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,8 @@ class ScoverageExtension {
69
69
def mainSourceSet = project. sourceSets. create(' scoverage' ) {
70
70
def original = project. sourceSets. getByName(SourceSet . MAIN_SOURCE_SET_NAME )
71
71
72
- java. source(original. java)
73
72
resources. source(original. resources)
73
+ scala. source(original. java)
74
74
scala. source(original. scala)
75
75
76
76
compileClasspath + = original. compileClasspath + project. configurations. scoverage
Original file line number Diff line number Diff line change
1
+ package old ;
2
+
3
+ public class World {
4
+ public String getMessage () {
5
+ return "Hello old boy" ;
6
+ }
7
+ }
Original file line number Diff line number Diff line change 1
1
package hello
2
2
3
3
object World {
4
- def say () = println(" ahoy" )
4
+ def say () = {
5
+ println(new old.World ().getMessage())
6
+ println(" ahoy" )
7
+ }
5
8
}
You can’t perform that action at this time.
0 commit comments