David Ostrovsky 92416412f8 gerrit-main: Bump to Java 1.8
This is a preparation change to activate Error Prone for Buck driven
build. This fix is needed, otherwise the compilation is failing with:

  Source option 1.2 is no longer supported. Use 1.6 or later.
  Target option 1.2 is no longer supported. Use 1.6 or later.

Change-Id: I1ef45eee87dec788522873cabe4612bf7ac2ef5b
2016-12-12 05:36:37 +00:00

14 lines
273 B
Python

java_binary(
name = 'main_bin',
main_class = 'Main',
deps = [':main_lib'],
visibility = ['PUBLIC'],
)
java_library(
name = 'main_lib',
srcs = ['src/main/java/Main.java'],
deps = ['//gerrit-launcher:launcher'],
visibility = ['//tools/eclipse:classpath'],
)