diff --git a/pom.xml b/pom.xml index 7b0aa7977a..8182122ef8 100644 --- a/pom.xml +++ b/pom.xml @@ -75,7 +75,7 @@ 4.12 1.7.0 1.9.5 - 3.2 + 3.8 diff --git a/retrofit/src/test/java/retrofit2/CompletableFutureAndroidTest.java b/retrofit/src/test/java/retrofit2/CompletableFutureAndroidTest.java index 1561a145b6..b2eff23695 100644 --- a/retrofit/src/test/java/retrofit2/CompletableFutureAndroidTest.java +++ b/retrofit/src/test/java/retrofit2/CompletableFutureAndroidTest.java @@ -30,9 +30,10 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assert.fail; import static org.robolectric.annotation.Config.NEWEST_SDK; +import static org.robolectric.annotation.Config.NONE; @RunWith(RobolectricTestRunner.class) -@Config(sdk = NEWEST_SDK) +@Config(sdk = NEWEST_SDK, manifest = NONE) public final class CompletableFutureAndroidTest { @Rule public final MockWebServer server = new MockWebServer(); diff --git a/retrofit/src/test/java/retrofit2/OptionalConverterFactoryAndroidTest.java b/retrofit/src/test/java/retrofit2/OptionalConverterFactoryAndroidTest.java index e64dccc124..de9e37e3ff 100644 --- a/retrofit/src/test/java/retrofit2/OptionalConverterFactoryAndroidTest.java +++ b/retrofit/src/test/java/retrofit2/OptionalConverterFactoryAndroidTest.java @@ -31,9 +31,10 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assert.fail; import static org.robolectric.annotation.Config.NEWEST_SDK; +import static org.robolectric.annotation.Config.NONE; @RunWith(RobolectricTestRunner.class) -@Config(sdk = NEWEST_SDK) +@Config(sdk = NEWEST_SDK, manifest = NONE) public final class OptionalConverterFactoryAndroidTest { interface Service { @GET("/") Call> optional(); diff --git a/retrofit/src/test/java/retrofit2/RequestFactoryAndroidTest.java b/retrofit/src/test/java/retrofit2/RequestFactoryAndroidTest.java index b50e46753c..4e0b38de25 100644 --- a/retrofit/src/test/java/retrofit2/RequestFactoryAndroidTest.java +++ b/retrofit/src/test/java/retrofit2/RequestFactoryAndroidTest.java @@ -27,10 +27,11 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.robolectric.annotation.Config.NEWEST_SDK; +import static org.robolectric.annotation.Config.NONE; import static retrofit2.RequestFactoryTest.buildRequest; @RunWith(RobolectricTestRunner.class) -@Config(sdk = NEWEST_SDK) +@Config(sdk = NEWEST_SDK, manifest = NONE) @SuppressWarnings({"UnusedParameters", "unused"}) // Parameters inspected reflectively. public final class RequestFactoryAndroidTest { @Test public void getWithAndroidUriUrl() {