File tree 1 file changed +16
-2
lines changed
1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,20 @@ subprojects {
44
44
// include /src/examples folder
45
45
examples
46
46
// include /src/perf folder
47
- // perf //-> Not working so commented out
47
+ perf {
48
+ java {
49
+ srcDir ' src/perf/java'
50
+ compileClasspath + = main. output
51
+ runtimeClasspath + = main. output
52
+ }
53
+ }
48
54
}
49
-
55
+
56
+ dependencies {
57
+ perfCompile ' com.google.caliper:caliper:1.0-beta-1'
58
+ perfRuntime ' com.sun.jersey:jersey-core:1.11'
59
+ }
60
+
50
61
tasks. build {
51
62
// include 'examples' in build task
52
63
dependsOn(examplesClasses)
@@ -58,6 +69,7 @@ subprojects {
58
69
classpath {
59
70
// include 'provided' dependencies on the classpath
60
71
plusConfigurations + = configurations. provided
72
+ plusConfigurations + = configurations. perfCompile
61
73
62
74
downloadSources = true
63
75
downloadJavadoc = true
@@ -68,6 +80,8 @@ subprojects {
68
80
module {
69
81
// include 'provided' dependencies on the classpath
70
82
scopes. PROVIDED . plus + = configurations. provided
83
+ // TODO not sure what to add it to
84
+ // scopes.PROVIDED.plus += configurations.perfCompile
71
85
}
72
86
}
73
87
}
You can’t perform that action at this time.
0 commit comments