Browse Source

renamed github example

3.x
adriancole 11 years ago
parent
commit
5f42c147d4
  1. 2
      examples/feign-example-github/build.gradle
  2. 2
      examples/feign-example-github/src/main/java/feign/example/github/GitHubExample.java
  3. 2
      settings.gradle

2
examples/feign-example-cli/build.gradle → examples/feign-example-github/build.gradle

@ -26,7 +26,7 @@ task fatJar(dependsOn: classes, type: Jar) { @@ -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

2
examples/feign-example-cli/src/main/java/feign/example/cli/GitHubExample.java → examples/feign-example-github/src/main/java/feign/example/github/GitHubExample.java

@ -13,7 +13,7 @@ @@ -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;

2
settings.gradle

@ -1,2 +1,2 @@ @@ -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'

Loading…
Cancel
Save