2017-03-21 11:58:19 -07:00
|
|
|
buildscript {
|
2019-08-31 20:51:14 -07:00
|
|
|
apply from: './repositories.gradle'
|
2017-03-21 11:58:19 -07:00
|
|
|
buildscript.repositories.addAll(project.repositories)
|
|
|
|
dependencies {
|
2019-08-31 20:51:14 -07:00
|
|
|
classpath 'com.linkedin.pegasus:gradle-plugins:23.0.19'
|
|
|
|
classpath 'com.moowork.gradle:gradle-node-plugin:1.3.1'
|
2017-03-21 11:58:19 -07:00
|
|
|
}
|
|
|
|
}
|
2016-10-19 17:08:07 -07:00
|
|
|
|
2019-08-31 20:51:14 -07:00
|
|
|
final pegasusVersion = '23.0.19'
|
|
|
|
project.ext.spec = [
|
|
|
|
'product' : [
|
|
|
|
'pegasus' : [
|
|
|
|
'd2' : 'com.linkedin.pegasus:d2:' + pegasusVersion,
|
|
|
|
'data' : 'com.linkedin.pegasus:data:' + pegasusVersion,
|
|
|
|
'dataAvro1_6' : 'com.linkedin.pegasus:data-avro-1_6:' + pegasusVersion,
|
|
|
|
'restliCommon' : 'com.linkedin.pegasus:restli-common:' + pegasusVersion,
|
|
|
|
'restliClient' : 'com.linkedin.pegasus:restli-client:' + pegasusVersion,
|
|
|
|
'restliServer' : 'com.linkedin.pegasus:restli-server:' + pegasusVersion,
|
|
|
|
'restliSpringBridge': 'com.linkedin.pegasus:restli-spring-bridge:' + pegasusVersion,
|
|
|
|
]
|
|
|
|
]
|
|
|
|
]
|
2016-05-16 14:58:28 +02:00
|
|
|
|
2019-08-31 20:51:14 -07:00
|
|
|
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',
|
|
|
|
'ebean': 'io.ebean:ebean:11.33.3',
|
|
|
|
'ebeanAgent': 'io.ebean:ebean-agent:11.27.1',
|
|
|
|
'elasticSearchRest': 'org.elasticsearch.client:elasticsearch-rest-high-level-client:5.6.8',
|
|
|
|
'findbugsAnnotations': 'com.google.code.findbugs:annotations:3.0.1',
|
|
|
|
'guice': 'com.google.inject:guice:4.2.2',
|
|
|
|
'guava': 'com.google.guava:guava:27.0.1-jre',
|
|
|
|
'h2': 'com.h2database:h2:1.4.196',
|
|
|
|
'hibernateCore': 'org.hibernate:hibernate-core:5.2.16.Final',
|
|
|
|
'httpClient': 'org.apache.httpcomponents:httpclient:4.5.9',
|
|
|
|
'jacksonCore': 'com.fasterxml.jackson.core:jackson-core:2.9.7',
|
|
|
|
'jacksonDataBind': 'com.fasterxml.jackson.core:jackson-databind:2.9.7',
|
|
|
|
'jerseyCore': 'org.glassfish.jersey.core:jersey-client:2.25.1',
|
|
|
|
'jerseyGuava': 'org.glassfish.jersey.bundles.repackaged:jersey-guava:2.25.1',
|
|
|
|
'jsonSimple': 'com.googlecode.json-simple:json-simple:1.1.1',
|
|
|
|
'junit': 'junit:junit:4.12',
|
|
|
|
'kafkaAvroSerde': 'io.confluent:kafka-streams-avro-serde:5.2.2',
|
2019-09-07 23:35:23 -07:00
|
|
|
'kafkaClients': 'org.apache.kafka:kafka-clients:2.3.0',
|
2019-08-31 20:51:14 -07:00
|
|
|
'kafkaSchemaRegistry': 'io.confluent:kafka-schema-registry-client:3.3.1',
|
|
|
|
'kafkaSerializers': 'io.confluent:kafka-avro-serializer:3.3.1',
|
2019-09-07 23:35:23 -07:00
|
|
|
'kafkaStreams': 'org.apache.kafka:kafka-streams:2.3.0',
|
2019-08-31 20:51:14 -07:00
|
|
|
'logbackClassic': 'ch.qos.logback:logback-classic:1.2.3',
|
|
|
|
'lombok': 'org.projectlombok:lombok:1.18.8',
|
|
|
|
'mockito': 'org.mockito:mockito-core:3.0.0',
|
|
|
|
'mysqlConnector': 'mysql:mysql-connector-java:5.1.47',
|
2019-10-02 11:08:52 -07:00
|
|
|
"neo4jHarness": "org.neo4j.test:neo4j-harness:3.4.11",
|
|
|
|
"neo4jJavaDriver": "org.neo4j.driver:neo4j-java-driver:1.7.2",
|
2019-08-31 20:51:14 -07:00
|
|
|
'parseqTest': 'com.linkedin.parseq:parseq:3.0.7:test',
|
|
|
|
'playDocs': 'com.typesafe.play:play-docs_2.11:2.6.18',
|
|
|
|
'playGuice': 'com.typesafe.play:play-guice_2.11:2.6.18',
|
|
|
|
'playJavaJdbc': 'com.typesafe.play:play-java-jdbc_2.11:2.6.18',
|
|
|
|
'playTest': 'com.typesafe.play:play-test_2.11:2.6.18',
|
|
|
|
'servletApi': 'javax.servlet:javax.servlet-api:3.1.0',
|
2019-09-04 20:19:45 -07:00
|
|
|
'springBeans': 'org.springframework:spring-beans:5.1.6.RELEASE',
|
|
|
|
'springContext': 'org.springframework:spring-context:5.1.6.RELEASE',
|
|
|
|
'springCore': 'org.springframework:spring-core:5.1.6.RELEASE',
|
|
|
|
'springJdbc': 'org.springframework:spring-jdbc:5.1.6.RELEASE',
|
|
|
|
'springWeb': 'org.springframework:spring-web:5.1.6.RELEASE',
|
2019-08-31 20:51:14 -07:00
|
|
|
'testng': 'org.testng:testng:6.9.9'
|
|
|
|
]
|
2017-03-21 11:58:19 -07:00
|
|
|
|
2019-08-31 20:51:14 -07:00
|
|
|
allprojects {
|
|
|
|
apply plugin: 'idea'
|
|
|
|
apply plugin: 'eclipse'
|
2016-05-16 14:58:28 +02:00
|
|
|
}
|
2017-03-23 16:46:36 -07:00
|
|
|
|
2019-08-31 20:51:14 -07:00
|
|
|
subprojects {
|
|
|
|
apply plugin: 'maven'
|
|
|
|
|
2019-10-22 04:45:06 -07:00
|
|
|
afterEvaluate {
|
|
|
|
if (project.plugins.hasPlugin('java')) {
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
targetCompatibility = 1.8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-31 20:51:14 -07:00
|
|
|
afterEvaluate {
|
|
|
|
if (project.plugins.hasPlugin('pegasus')) {
|
|
|
|
dependencies {
|
|
|
|
dataTemplateCompile spec.product.pegasus.data
|
|
|
|
restClientCompile spec.product.pegasus.restliClient
|
|
|
|
}
|
|
|
|
}
|
2019-10-22 04:51:02 -07:00
|
|
|
}
|
2019-10-22 04:45:06 -07:00
|
|
|
}
|