You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
2.2 KiB
91 lines
2.2 KiB
// Establish version and status |
|
ext.githubProjectName = rootProject.name // Change if github project name is not the same as the root project's name |
|
|
|
buildscript { |
|
repositories { |
|
mavenLocal() |
|
mavenCentral() |
|
} |
|
apply from: file('gradle/buildscript.gradle'), to: buildscript |
|
} |
|
|
|
allprojects { |
|
repositories { |
|
mavenLocal() |
|
mavenCentral() |
|
maven { url 'https://oss.sonatype.org/content/repositories/releases/' } |
|
} |
|
} |
|
|
|
apply from: file('gradle/convention.gradle') |
|
apply from: file('gradle/maven.gradle') |
|
apply from: file('gradle/check.gradle') |
|
apply from: file('gradle/license.gradle') |
|
apply from: file('gradle/release.gradle') |
|
apply plugin: 'idea' |
|
|
|
subprojects { |
|
apply from: rootProject.file('dagger.gradle') |
|
group = "com.netflix.${githubProjectName}" // TEMPLATE: Set to organization of project |
|
} |
|
|
|
project(':feign-core') { |
|
apply plugin: 'java' |
|
|
|
test { |
|
useTestNG() |
|
} |
|
|
|
dependencies { |
|
testCompile 'com.google.guava:guava:14.0.1' |
|
testCompile 'com.google.code.gson:gson:2.2.4' |
|
testCompile 'com.fasterxml.jackson.core:jackson-databind:2.2.2' |
|
testCompile 'org.testng:testng:6.8.5' |
|
testCompile 'com.google.mockwebserver:mockwebserver:20130706' |
|
} |
|
} |
|
|
|
project(':feign-gson') { |
|
apply plugin: 'java' |
|
|
|
test { |
|
useTestNG() |
|
} |
|
|
|
dependencies { |
|
compile project(':feign-core') |
|
compile 'com.google.code.gson:gson:2.2.4' |
|
testCompile 'org.testng:testng:6.8.5' |
|
} |
|
} |
|
|
|
project(':feign-jaxrs') { |
|
apply plugin: 'java' |
|
|
|
test { |
|
useTestNG() |
|
} |
|
|
|
dependencies { |
|
compile project(':feign-core') |
|
compile 'javax.ws.rs:jsr311-api:1.1.1' |
|
testCompile project(':feign-gson') |
|
testCompile 'com.google.guava:guava:14.0.1' |
|
testCompile 'org.testng:testng:6.8.5' |
|
} |
|
} |
|
|
|
project(':feign-ribbon') { |
|
apply plugin: 'java' |
|
|
|
test { |
|
useTestNG() |
|
} |
|
|
|
dependencies { |
|
compile project(':feign-core') |
|
compile 'com.netflix.ribbon:ribbon-core:0.2.0' |
|
testCompile 'org.testng:testng:6.8.5' |
|
testCompile 'com.google.mockwebserver:mockwebserver:20130706' |
|
} |
|
}
|
|
|