diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/build.gradle b/build.gradle index bb46e75..8989eb0 100644 --- a/build.gradle +++ b/build.gradle @@ -1,23 +1,35 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + apply plugin: 'java' apply plugin: 'com.google.protobuf' repositories { - jcenter() + mavenCentral() } buildscript { repositories { - jcenter() + mavenCentral() } dependencies { - classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.7' + classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.12' } } dependencies { - compile "com.google.code.findbugs:jsr305:3.0.0" - compile "com.google.protobuf:protobuf-java:3.4.0" - compile "com.google.guava:guava:r05" + implementation "com.google.code.findbugs:jsr305:3.0.0" + implementation "com.google.protobuf:protobuf-java:3.8.0" + implementation "com.google.guava:guava:19.0" } - - |