mirror of
https://github.com/datahub-project/datahub.git
synced 2025-06-27 05:03:31 +00:00
Bump gradle to 5.6.4 and pegasus to 27.7.18
This commit is contained in:
parent
f55e031556
commit
b17b91f24a
@ -2,12 +2,13 @@ buildscript {
|
||||
apply from: './repositories.gradle'
|
||||
buildscript.repositories.addAll(project.repositories)
|
||||
dependencies {
|
||||
classpath 'com.linkedin.pegasus:gradle-plugins:23.0.19'
|
||||
classpath 'com.linkedin.pegasus:gradle-plugins:27.7.18'
|
||||
classpath 'com.moowork.gradle:gradle-node-plugin:1.3.1'
|
||||
classpath "com.commercehub.gradle.plugin:gradle-avro-plugin:0.8.1"
|
||||
}
|
||||
}
|
||||
|
||||
final pegasusVersion = '23.0.19'
|
||||
final pegasusVersion = '27.7.18'
|
||||
project.ext.spec = [
|
||||
'product' : [
|
||||
'pegasus' : [
|
||||
@ -24,7 +25,6 @@ project.ext.spec = [
|
||||
|
||||
project.ext.externalDependency = [
|
||||
'avro_1_7': 'org.apache.avro:avro:1.7.7',
|
||||
'avroMigrationHelper': 'com.linkedin.avroutil:avro-migration-helper:0.1.0',
|
||||
'cacheApi' : 'javax.cache:cache-api:1.1.0',
|
||||
'commonsIo': 'commons-io:commons-io:2.4',
|
||||
'commonsLang': 'commons-lang:commons-lang:2.6',
|
||||
@ -50,7 +50,7 @@ project.ext.externalDependency = [
|
||||
'kafkaSerializers': 'io.confluent:kafka-avro-serializer:3.3.1',
|
||||
'kafkaStreams': 'org.apache.kafka:kafka-streams:2.3.0',
|
||||
'logbackClassic': 'ch.qos.logback:logback-classic:1.2.3',
|
||||
'lombok': 'org.projectlombok:lombok:1.18.8',
|
||||
'lombok': 'org.projectlombok:lombok:1.18.12',
|
||||
'mockito': 'org.mockito:mockito-core:3.0.0',
|
||||
'mysqlConnector': 'mysql:mysql-connector-java:5.1.47',
|
||||
"neo4jHarness": "org.neo4j.test:neo4j-harness:3.4.11",
|
||||
|
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Binary file not shown.
3
gradle/wrapper/gradle-wrapper.properties
vendored
3
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,6 +1,5 @@
|
||||
#Wed Jul 17 16:41:55 PDT 2019
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-all.zip
|
||||
|
51
gradlew
vendored
51
gradlew
vendored
@ -1,5 +1,21 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
#
|
||||
# Copyright 2015 the original author or authors.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
##############################################################################
|
||||
##
|
||||
## Gradle start up script for UN*X
|
||||
@ -28,7 +44,7 @@ APP_NAME="Gradle"
|
||||
APP_BASE_NAME=`basename "$0"`
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS=""
|
||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD="maximum"
|
||||
@ -109,8 +125,8 @@ if $darwin; then
|
||||
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
||||
fi
|
||||
|
||||
# For Cygwin, switch paths to Windows format before running java
|
||||
if $cygwin ; then
|
||||
# For Cygwin or MSYS, switch paths to Windows format before running java
|
||||
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
|
||||
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
||||
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
||||
JAVACMD=`cygpath --unix "$JAVACMD"`
|
||||
@ -138,19 +154,19 @@ if $cygwin ; then
|
||||
else
|
||||
eval `echo args$i`="\"$arg\""
|
||||
fi
|
||||
i=$((i+1))
|
||||
i=`expr $i + 1`
|
||||
done
|
||||
case $i in
|
||||
(0) set -- ;;
|
||||
(1) set -- "$args0" ;;
|
||||
(2) set -- "$args0" "$args1" ;;
|
||||
(3) set -- "$args0" "$args1" "$args2" ;;
|
||||
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
||||
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
||||
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
||||
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
||||
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
||||
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
||||
0) set -- ;;
|
||||
1) set -- "$args0" ;;
|
||||
2) set -- "$args0" "$args1" ;;
|
||||
3) set -- "$args0" "$args1" "$args2" ;;
|
||||
4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
||||
5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
||||
6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
||||
7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
||||
8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
||||
9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
@ -159,14 +175,9 @@ save () {
|
||||
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
||||
echo " "
|
||||
}
|
||||
APP_ARGS=$(save "$@")
|
||||
APP_ARGS=`save "$@"`
|
||||
|
||||
# Collect all arguments for the java command, following the shell quoting and substitution rules
|
||||
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
|
||||
|
||||
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
|
||||
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
|
||||
cd "$(dirname "$0")"
|
||||
fi
|
||||
|
||||
exec "$JAVACMD" "$@"
|
||||
|
18
gradlew.bat
vendored
18
gradlew.bat
vendored
@ -1,3 +1,19 @@
|
||||
@rem
|
||||
@rem Copyright 2015 the original author or authors.
|
||||
@rem
|
||||
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@rem you may not use this file except in compliance with the License.
|
||||
@rem You may obtain a copy of the License at
|
||||
@rem
|
||||
@rem https://www.apache.org/licenses/LICENSE-2.0
|
||||
@rem
|
||||
@rem Unless required by applicable law or agreed to in writing, software
|
||||
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
@rem See the License for the specific language governing permissions and
|
||||
@rem limitations under the License.
|
||||
@rem
|
||||
|
||||
@if "%DEBUG%" == "" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@ -14,7 +30,7 @@ set APP_BASE_NAME=%~n0
|
||||
set APP_HOME=%DIRNAME%
|
||||
|
||||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
set DEFAULT_JVM_OPTS=
|
||||
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
|
||||
|
||||
@rem Find java.exe
|
||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
@ -7,6 +7,8 @@ dependencies {
|
||||
compileOnly externalDependency.lombok
|
||||
compileOnly externalDependency.findbugsAnnotations
|
||||
|
||||
annotationProcessor externalDependency.lombok
|
||||
|
||||
testCompile externalDependency.testng
|
||||
testCompile externalDependency.mockito
|
||||
testCompile project(':metadata-testing:metadata-test-utils')
|
||||
|
@ -13,6 +13,8 @@ dependencies {
|
||||
compileOnly externalDependency.ebeanAgent
|
||||
compileOnly externalDependency.lombok
|
||||
|
||||
annotationProcessor externalDependency.lombok
|
||||
|
||||
testCompile project(':metadata-testing:metadata-test-models')
|
||||
testCompile project(':metadata-testing:metadata-test-utils')
|
||||
testCompile externalDependency.h2
|
||||
@ -26,7 +28,7 @@ project.compileJava {
|
||||
doLast {
|
||||
ant.taskdef(name: 'ebean', classname: 'io.ebean.enhance.ant.AntEnhanceTask',
|
||||
classpath: project.configurations.enhance.asPath)
|
||||
ant.ebean(classSource: project.sourceSets.main.output.classesDir, packages: 'com.linkedin.metadata.dao',
|
||||
ant.ebean(classSource: "${project.buildDir}/classes/java/main", packages: 'com.linkedin.metadata.dao',
|
||||
transformArgs: 'debug=1')
|
||||
}
|
||||
}
|
||||
|
@ -12,6 +12,8 @@ dependencies {
|
||||
compile externalDependency.jacksonCore
|
||||
compile externalDependency.jacksonDataBind
|
||||
|
||||
annotationProcessor externalDependency.lombok
|
||||
|
||||
testCompile project(':metadata-testing:metadata-test-utils')
|
||||
testCompile project(':metadata-testing:metadata-test-models')
|
||||
testCompile externalDependency.testng
|
||||
|
@ -9,6 +9,8 @@ dependencies {
|
||||
|
||||
compileOnly externalDependency.lombok
|
||||
|
||||
annotationProcessor externalDependency.lombok
|
||||
|
||||
testCompile externalDependency.mockito
|
||||
testCompile externalDependency.testng
|
||||
}
|
@ -9,6 +9,8 @@ dependencies {
|
||||
|
||||
compileOnly externalDependency.lombok
|
||||
|
||||
annotationProcessor externalDependency.lombok
|
||||
|
||||
testCompile project(':metadata-testing:metadata-test-models')
|
||||
testCompile project(':metadata-testing:metadata-test-utils')
|
||||
testCompile externalDependency.guava
|
||||
|
@ -1,7 +1,3 @@
|
||||
plugins {
|
||||
id 'com.commercehub.gradle.plugin.avro' version '0.8.0'
|
||||
}
|
||||
|
||||
configurations {
|
||||
avsc
|
||||
}
|
||||
|
@ -8,12 +8,9 @@ dependencies {
|
||||
compile project(':metadata-events:mxe-avro-1.7')
|
||||
compile project(':metadata-models')
|
||||
compile spec.product.pegasus.dataAvro1_6
|
||||
compile externalDependency.lombok
|
||||
compile externalDependency.commonsIo
|
||||
|
||||
testCompile project(':metadata-dao')
|
||||
testCompile project(':metadata-testing:metadata-test-utils')
|
||||
testCompile externalDependency.testng
|
||||
|
||||
avroOriginal project(path: ':metadata-models', configuration: 'avroSchema')
|
||||
}
|
||||
|
@ -27,6 +27,8 @@ dependencies {
|
||||
|
||||
compileOnly externalDependency.lombok
|
||||
|
||||
annotationProcessor externalDependency.lombok
|
||||
|
||||
runtime externalDependency.logbackClassic
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,8 @@ dependencies {
|
||||
|
||||
compileOnly externalDependency.lombok
|
||||
|
||||
annotationProcessor externalDependency.lombok
|
||||
|
||||
runtime externalDependency.logbackClassic
|
||||
}
|
||||
|
||||
|
@ -17,6 +17,8 @@ dependencies {
|
||||
|
||||
compileOnly externalDependency.lombok
|
||||
|
||||
annotationProcessor externalDependency.lombok
|
||||
|
||||
testCompile project(':metadata-testing:metadata-test-utils')
|
||||
testCompile externalDependency.testng
|
||||
}
|
@ -7,5 +7,7 @@ dependencies {
|
||||
|
||||
compileOnly externalDependency.lombok
|
||||
|
||||
annotationProcessor externalDependency.lombok
|
||||
|
||||
testCompile externalDependency.guava
|
||||
}
|
@ -1,11 +1,13 @@
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
jcenter()
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
maven {
|
||||
url "https://packages.confluent.io/maven/"
|
||||
}
|
||||
maven {
|
||||
url "https://dl.bintray.com/radai-rosenblatt/avro-util/"
|
||||
url "https://dl.bintray.com/gradle/gradle-plugins"
|
||||
}
|
||||
maven {
|
||||
url "https://plugins.gradle.org/m2/"
|
||||
|
Loading…
x
Reference in New Issue
Block a user