BAEL-10877 Fix build of micronaut project

- Version upgraded, now using the standard maven central
- API changes per the new library in ConcreteGreetingClient and GreetingClient
This commit is contained in:
Dhawal Kapil 2018-12-06 23:54:56 +05:30
parent 3addff050f
commit ddeb2dd5ab
3 changed files with 5 additions and 13 deletions

View File

@ -7,15 +7,10 @@
<properties>
<exec.mainClass>com.baeldung.micronaut.helloworld.server.ServerApplication</exec.mainClass>
<micronaut.version>1.0.0.M2</micronaut.version>
<jdk.version>9</jdk.version>
<micronaut.version>1.0.0.RC2</micronaut.version>
<jdk.version>1.8</jdk.version>
</properties>
<repositories>
<repository>
<id>jcenter.bintray.com</id>
<url>http://jcenter.bintray.com</url>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>

View File

@ -1,7 +1,7 @@
package com.baeldung.micronaut.helloworld.client;
import io.micronaut.http.HttpRequest;
import io.micronaut.http.client.Client;
import io.micronaut.http.client.annotation.Client;
import io.micronaut.http.client.RxHttpClient;
import io.reactivex.Single;

View File

@ -1,10 +1,7 @@
package com.baeldung.micronaut.helloworld.client;
import io.micronaut.http.annotation.Get;
import io.micronaut.http.client.Client;
import io.micronaut.http.client.RxHttpClient;
import javax.inject.Inject;
import io.micronaut.http.client.annotation.Client;
@Client("/greet")
public interface GreetingClient {