File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
java/net/servicestack/client/tests Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
22apply plugin : ' com.github.dcendents.android-maven'
33apply plugin : ' com.jfrog.bintray'
44
5- version = " 1.0.20 "
5+ version = " 1.0.21 "
66
77android {
88 compileSdkVersion 23
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ dependencies {
1111 testCompile ' org.mockito:mockito-core:1.9.5'
1212}
1313
14- version = " 1.0.20 "
14+ version = " 1.0.21 "
1515group = " net.servicestack" // Maven Group ID for the artifact
1616String packageId = " client"
1717String groupID = group
Original file line number Diff line number Diff line change 44 <modelVersion >4.0.0</modelVersion >
55 <groupId >net.servicestack</groupId >
66 <artifactId >client</artifactId >
7- <version >1.0.20 </version >
7+ <version >1.0.21 </version >
88 <name >ServiceStack.Client</name >
99 <description >A client library to call your ServiceStack webservices.</description >
1010 <url >https://github.com/ServiceStack/ServiceStack.Java</url >
Original file line number Diff line number Diff line change @@ -118,8 +118,8 @@ public void test_Can_deserialize_Overview() throws IOException {
118118//Latest Android Update broke test resources
119119// InputStream stream = this.getClass().getClassLoader().getResourceAsStream("overview.json");
120120// String json = Utils.readToEnd(stream, "UTF-8");
121-
122- String json = Utils .readToEnd (new FileInputStream ( "src \\ test \\ res \\ overview.json" ), "UTF-8" );
121+ // Works from gradle -> test or check as they run 'processTestResources' that copy resources into build directory
122+ String json = Utils .readToEnd (getClass (). getResourceAsStream ( "/ overview.json" ), "UTF-8" );
123123
124124 OverviewResponse dto = (OverviewResponse )client .fromJson (json , OverviewResponse .class );
125125
File renamed without changes.
You can’t perform that action at this time.
0 commit comments