Skip to content

Commit

Permalink
Move benchmarks into their own directory, makes IntelliJ happy
Browse files Browse the repository at this point in the history
  • Loading branch information
sjamesr committed Jun 4, 2018
1 parent 737b4f5 commit b441366
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -6,3 +6,4 @@ target/
*.iml
.gradle/
build/
out/
Expand Up @@ -37,7 +37,7 @@
public class Benchmarks {
private enum Implementation {
RE2J,
JDK;
JDK
}

@Param({"RE2J", "JDK"})
Expand Down
5 changes: 1 addition & 4 deletions build.gradle
Expand Up @@ -36,8 +36,6 @@ sourceSets {
test {
java {
srcDir 'javatests'
// Benchmarks are now dealt with in their own source set below.
exclude 'com/google/re2j/Benchmarks.java'
}
resources {
srcDir 'testdata'
Expand All @@ -49,8 +47,7 @@ sourceSets {
// for the rest of our test code.
benchmarks {
java {
srcDir 'javatests'
include 'com/google/re2j/Benchmarks.java'
srcDir 'benchmarks'
}
}
}
Expand Down

0 comments on commit b441366

Please sign in to comment.