Update to gradle 5.3 (#137)
This commit is contained in:
parent
0ff8127452
commit
e286cf0811
|
|
@ -1,9 +1,9 @@
|
||||||
description = 'OpenConsensus API'
|
description = 'OpenConsensus API'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile libraries.grpc_context
|
api libraries.grpc_context
|
||||||
|
|
||||||
compileOnly libraries.auto_value
|
annotationProcessor libraries.auto_value
|
||||||
|
|
||||||
signature "org.codehaus.mojo.signature:java17:1.0@signature"
|
signature "org.codehaus.mojo.signature:java17:1.0@signature"
|
||||||
signature "net.sf.androidscents.signature:android-api-level-14:4.0_r4@signature"
|
signature "net.sf.androidscents.signature:android-api-level-14:4.0_r4@signature"
|
||||||
|
|
|
||||||
29
build.gradle
29
build.gradle
|
|
@ -7,9 +7,8 @@ buildscript {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'ru.vyarus:gradle-animalsniffer-plugin:1.4.6'
|
classpath 'ru.vyarus:gradle-animalsniffer-plugin:1.5.0'
|
||||||
classpath 'net.ltgt.gradle:gradle-errorprone-plugin:0.0.16'
|
classpath 'net.ltgt.gradle:gradle-errorprone-plugin:0.0.16'
|
||||||
classpath "net.ltgt.gradle:gradle-apt-plugin:0.18"
|
|
||||||
classpath 'com.github.ben-manes:gradle-versions-plugin:0.20.0'
|
classpath 'com.github.ben-manes:gradle-versions-plugin:0.20.0'
|
||||||
classpath "gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.8"
|
classpath "gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.8"
|
||||||
classpath "me.champeau.gradle:jmh-gradle-plugin:0.4.8"
|
classpath "me.champeau.gradle:jmh-gradle-plugin:0.4.8"
|
||||||
|
|
@ -22,21 +21,19 @@ buildscript {
|
||||||
apply plugin: 'com.github.ben-manes.versions'
|
apply plugin: 'com.github.ben-manes.versions'
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
apply plugin: "checkstyle"
|
apply plugin: 'checkstyle'
|
||||||
apply plugin: 'maven'
|
|
||||||
apply plugin: 'idea'
|
|
||||||
apply plugin: 'eclipse'
|
apply plugin: 'eclipse'
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
apply plugin: "signing"
|
apply plugin: 'java-library'
|
||||||
apply plugin: "jacoco"
|
apply plugin: 'idea'
|
||||||
|
apply plugin: 'signing'
|
||||||
|
apply plugin: 'jacoco'
|
||||||
// The plugin only has an effect if a signature is specified
|
// The plugin only has an effect if a signature is specified
|
||||||
apply plugin: 'ru.vyarus.animalsniffer'
|
apply plugin: 'ru.vyarus.animalsniffer'
|
||||||
apply plugin: 'net.ltgt.apt'
|
apply plugin: 'me.champeau.gradle.jmh'
|
||||||
apply plugin: 'net.ltgt.apt-idea'
|
apply plugin: 'io.morethan.jmhreport'
|
||||||
apply plugin: "me.champeau.gradle.jmh"
|
|
||||||
apply plugin: "io.morethan.jmhreport"
|
|
||||||
apply plugin: 'com.github.sherter.google-java-format'
|
apply plugin: 'com.github.sherter.google-java-format'
|
||||||
apply plugin: "net.ltgt.errorprone"
|
apply plugin: 'net.ltgt.errorprone'
|
||||||
|
|
||||||
group = "openconsensus"
|
group = "openconsensus"
|
||||||
version = "0.1.0-SNAPSHOT" // CURRENT_VERSION
|
version = "0.1.0-SNAPSHOT" // CURRENT_VERSION
|
||||||
|
|
@ -104,12 +101,13 @@ subprojects {
|
||||||
findBugsJsr305Version = '3.0.2'
|
findBugsJsr305Version = '3.0.2'
|
||||||
errorProneVersion = '2.3.2'
|
errorProneVersion = '2.3.2'
|
||||||
grpcVersion = '1.19.0'
|
grpcVersion = '1.19.0'
|
||||||
autoValueVersion = '1.5.3'
|
autoValueVersion = '1.6.2'
|
||||||
opentracingVersion = '0.32.0'
|
opentracingVersion = '0.32.0'
|
||||||
|
|
||||||
libraries = [
|
libraries = [
|
||||||
auto_value: "com.google.auto.value:auto-value:${autoValueVersion}",
|
auto_value: "com.google.auto.value:auto-value:${autoValueVersion}",
|
||||||
errorprone: "com.google.errorprone:error_prone_annotations:${errorProneVersion}",
|
auto_value_annotation: "com.google.auto.value:auto-value-annotations:${autoValueVersion}",
|
||||||
|
errorprone_annotation: "com.google.errorprone:error_prone_annotations:${errorProneVersion}",
|
||||||
grpc_context: "io.grpc:grpc-context:${grpcVersion}",
|
grpc_context: "io.grpc:grpc-context:${grpcVersion}",
|
||||||
jsr305: "com.google.code.findbugs:jsr305:${findBugsJsr305Version}",
|
jsr305: "com.google.code.findbugs:jsr305:${findBugsJsr305Version}",
|
||||||
|
|
||||||
|
|
@ -132,7 +130,8 @@ subprojects {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly libraries.errorprone,
|
api libraries.auto_value_annotation,
|
||||||
|
libraries.errorprone_annotation,
|
||||||
libraries.jsr305
|
libraries.jsr305
|
||||||
|
|
||||||
testCompile libraries.junit,
|
testCompile libraries.junit,
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-5.3-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
description = 'OpenConsensus OpenCensus Bridge'
|
description = 'OpenConsensus OpenCensus Bridge'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':openconsensus-api')
|
api project(':openconsensus-api')
|
||||||
|
|
||||||
compileOnly libraries.auto_value
|
annotationProcessor libraries.auto_value
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
description = 'OpenConsensus OpenTracing Bridge'
|
description = 'OpenConsensus OpenTracing Bridge'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':openconsensus-api')
|
api project(':openconsensus-api')
|
||||||
compileOnly libraries.opentracing
|
api libraries.opentracing
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue