Brian O'Connor | e8468b5 | 2016-07-25 13:42:36 -0700 | [diff] [blame^] | 1 | remote_jar ( |
| 2 | name = 'buck-api', |
| 3 | out = 'buck.jar', |
| 4 | url = 'https://github.com/bocon13/buck/releases/download/v2016.07.29.01-wip/buck.jar', |
| 5 | sha1 = 'f89324cb869b74fdcd4db9972233065a93d890a2', |
| 6 | visibility = [], |
| 7 | ) |
| 8 | |
| 9 | COMPILE = [ |
| 10 | '//lib:qdox', |
| 11 | #'//lib:jackson-core', |
| 12 | #'//lib:jackson-databind', |
| 13 | #'//lib:jackson-annotations', |
| 14 | ] |
| 15 | |
| 16 | RUNTIME = [ |
| 17 | ] |
| 18 | |
| 19 | java_library( |
| 20 | name = 'lib', |
| 21 | srcs = glob(['src/main/java/**/*.java']), |
| 22 | resources = glob(['src/main/resources/**/*']), |
| 23 | resources_root = 'src/main/resources', |
| 24 | deps = COMPILE, |
| 25 | provided_deps = [':buck-api'], |
| 26 | visibility = [], |
| 27 | ) |
| 28 | |
| 29 | java_binary( |
| 30 | name = 'onosjar', |
| 31 | deps = [':lib'], |
| 32 | visibility = ['PUBLIC'], |
| 33 | ) |