Skip to content

Commit

Permalink
Update junit runner to 1.0.15 to get java 7 compatibility
Browse files Browse the repository at this point in the history
The junit-runner 1.0.15 jar should now be java 7 compatible.

Also set the platform of the scala and javac tool to java7 for the next time those are published.

Testing Done:
Build green at https://travis-ci.org/pantsbuild/pants/builds/168588698

Also tested this jar in our Java repo under Java 7 and it works.

Bugs closed: 3986

Reviewed at https://rbcommons.com/s/twitter/r/4324/
  • Loading branch information
ericzundel committed Oct 18, 2016
1 parent 76f221e commit 2573d41
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/pants/backend/jvm/subsystems/junit.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class JUnit(JvmToolMixin, Subsystem):
RUNNER_MAIN = 'org.pantsbuild.tools.junit.ConsoleRunner'

_LIBRARY_JAR = JarDependency(org='junit', name='junit', rev=LIBRARY_REV)
_RUNNER_JAR = JarDependency(org='org.pantsbuild', name='junit-runner', rev='1.0.14')
_RUNNER_JAR = JarDependency(org='org.pantsbuild', name='junit-runner', rev='1.0.15')

@classmethod
def register_options(cls, register):
Expand Down
1 change: 1 addition & 0 deletions src/scala/org/pantsbuild/zinc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ scala_library(
],
sources=globs('*.scala'),
strict_deps=True,
platform='java7',
)
1 change: 1 addition & 0 deletions src/scala/org/pantsbuild/zinc/cache/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ scala_library(
],
sources=globs('*.scala'),
strict_deps=True,
platform='java7',
)
1 change: 1 addition & 0 deletions src/scala/org/pantsbuild/zinc/logging/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ scala_library(
],
sources=globs('*.scala'),
strict_deps=True,
platform='java7',
)
1 change: 1 addition & 0 deletions src/scala/sbt/compiler/javac/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ scala_library(
'3rdparty/jvm/com/typesafe/sbt:incremental-compiler',
],
sources=globs('*.scala'),
platform='java7',
)
1 change: 1 addition & 0 deletions src/scala/sbt/inc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ scala_library(
'3rdparty/jvm/com/typesafe/sbt:incremental-compiler',
],
sources=globs('*.scala'),
platform='java7',
)

0 comments on commit 2573d41

Please sign in to comment.