From 5f42c147d484db15fd2f2d1231ceac701973a212 Mon Sep 17 00:00:00 2001 From: adriancole Date: Sun, 4 Aug 2013 12:48:30 -0700 Subject: [PATCH] renamed github example --- .../{feign-example-cli => feign-example-github}/build.gradle | 2 +- .../src/main/java/feign/example/github}/GitHubExample.java | 2 +- settings.gradle | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename examples/{feign-example-cli => feign-example-github}/build.gradle (95%) rename examples/{feign-example-cli/src/main/java/feign/example/cli => feign-example-github/src/main/java/feign/example/github}/GitHubExample.java (98%) diff --git a/examples/feign-example-cli/build.gradle b/examples/feign-example-github/build.gradle similarity index 95% rename from examples/feign-example-cli/build.gradle rename to examples/feign-example-github/build.gradle index 55b0af2d..bf5581e5 100644 --- a/examples/feign-example-cli/build.gradle +++ b/examples/feign-example-github/build.gradle @@ -26,7 +26,7 @@ task fatJar(dependsOn: classes, type: Jar) { // http://skife.org/java/unix/2011/06/20/really_executable_jars.html manifest { - attributes 'Main-Class': 'feign.example.cli.GitHubExample' + attributes 'Main-Class': 'feign.example.github.GitHubExample' } // for convenience, we make a file in the build dir named github with no extension diff --git a/examples/feign-example-cli/src/main/java/feign/example/cli/GitHubExample.java b/examples/feign-example-github/src/main/java/feign/example/github/GitHubExample.java similarity index 98% rename from examples/feign-example-cli/src/main/java/feign/example/cli/GitHubExample.java rename to examples/feign-example-github/src/main/java/feign/example/github/GitHubExample.java index 3106e511..3c54b8e1 100644 --- a/examples/feign-example-cli/src/main/java/feign/example/cli/GitHubExample.java +++ b/examples/feign-example-github/src/main/java/feign/example/github/GitHubExample.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package feign.example.cli; +package feign.example.github; import feign.Feign; import feign.IncrementalCallback; diff --git a/settings.gradle b/settings.gradle index f15a2c39..c8929c5d 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,2 +1,2 @@ rootProject.name='feign' -include 'feign-core', 'feign-gson', 'feign-jaxrs', 'feign-ribbon', 'examples:feign-example-cli' +include 'feign-core', 'feign-gson', 'feign-jaxrs', 'feign-ribbon', 'examples:feign-example-github'