Skip to content

Commit a79f8da

Browse files
Create /src/perf for Performance Tests
- Move existing performance tests into this source folder. - Not building via Gradle yet … I have yet to figure that part out.
1 parent b8adc4d commit a79f8da

File tree

6 files changed

+8
-3
lines changed

6 files changed

+8
-3
lines changed

build.gradle

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,27 @@ subprojects {
3131
configurations {
3232
examplesCompile.extendsFrom compile
3333
examplesRuntime.extendsFrom runtime
34+
perfCompile.extendsFrom compile
35+
perfRuntime.extendsFrom runtime
3436
}
3537

36-
sourceSets.test.java.srcDir 'src/main/java'
3738

3839
tasks.withType(Javadoc).each {
3940
it.classpath = sourceSets.main.compileClasspath
4041
}
4142

42-
//include /src/examples folder
4343
sourceSets {
44+
//include /src/examples folder
4445
examples
46+
//include /src/perf folder
47+
// perf //-> Not working so commented out
4548
}
4649

47-
//include 'examples' in build task
4850
tasks.build {
51+
//include 'examples' in build task
4952
dependsOn(examplesClasses)
53+
//include 'perf' in build task
54+
// dependsOn(perfClasses) //-> Not working so commented out
5055
}
5156

5257
eclipse {

0 commit comments

Comments
 (0)