blob: bc0b7d1755bf5abe4e52cefd9c73ffb736588e3a [file] [log] [blame]
nathanmittler164b7342014-12-15 09:58:05 -08001subprojects {
2 apply plugin: "java"
3 apply plugin: "maven"
nmittler52f42202015-01-21 14:30:14 -08004 apply plugin: "idea"
nathanmittler164b7342014-12-15 09:58:05 -08005
6 group = "com.google.net.stubby"
7 version = "0.1.0-SNAPSHOT"
8
9 sourceCompatibility = 1.6
10 targetCompatibility = 1.6
11
12 repositories {
13 mavenCentral()
14 mavenLocal()
15 }
16
17 // External dependency management
18 ext.libraries = [
19 protobuf: 'com.google.protobuf:protobuf-java:2.6.1',
20 guava: 'com.google.guava:guava:18.0',
21 jsr305: 'com.google.code.findbugs:jsr305:3.0.0',
22 oauth_client: 'com.google.oauth-client:google-oauth-client:1.18.0-rc',
23 javaee_api: 'javax:javaee-api:7.0',
24 okio: 'com.squareup.okio:okio:1.0.1',
25 hpack: 'com.twitter:hpack:0.9.1',
26 protobuf_plugin: 'ws.antonov.gradle.plugins:gradle-plugin-protobuf:0.9.1',
27
28 // TODO: Unreleased dependencies.
29 // These must already be installed in the local maven repository.
30 netty: 'io.netty:netty-codec-http2:5.0.0.Alpha2-SNAPSHOT',
31 okhttp: 'com.squareup.okhttp:okhttp:2.2.0-SNAPSHOT',
32
33 // Test dependencies.
34 junit: 'junit:junit:4.11',
35 mockito: 'org.mockito:mockito-core:1.10.8'
36 ]
37
38 dependencies {
39 testCompile libraries.junit,
40 libraries.mockito
41 }
42}