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'
2
2
apply plugin : ' com.github.dcendents.android-maven'
3
3
apply plugin : ' com.jfrog.bintray'
4
4
5
- version = " 1.0.20 "
5
+ version = " 1.0.21 "
6
6
7
7
android {
8
8
compileSdkVersion 23
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ dependencies {
11
11
testCompile ' org.mockito:mockito-core:1.9.5'
12
12
}
13
13
14
- version = " 1.0.20 "
14
+ version = " 1.0.21 "
15
15
group = " net.servicestack" // Maven Group ID for the artifact
16
16
String packageId = " client"
17
17
String groupID = group
Original file line number Diff line number Diff line change 4
4
<modelVersion >4.0.0</modelVersion >
5
5
<groupId >net.servicestack</groupId >
6
6
<artifactId >client</artifactId >
7
- <version >1.0.20 </version >
7
+ <version >1.0.21 </version >
8
8
<name >ServiceStack.Client</name >
9
9
<description >A client library to call your ServiceStack webservices.</description >
10
10
<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 {
118
118
//Latest Android Update broke test resources
119
119
// InputStream stream = this.getClass().getClassLoader().getResourceAsStream("overview.json");
120
120
// 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" );
123
123
124
124
OverviewResponse dto = (OverviewResponse )client .fromJson (json , OverviewResponse .class );
125
125
File renamed without changes.
You can’t perform that action at this time.
0 commit comments