Skip to content

Commit 86b577b

Browse files
committed
Merge pull request #14 from Jaspersoft/develop
Release 1.10
2 parents f5266e3 + 46c8cb9 commit 86b577b

File tree

104 files changed

+19317
-692
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+19317
-692
lines changed

build.gradle

+7-6
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,24 @@ buildscript {
66
mavenLocal()
77
}
88
dependencies {
9-
classpath 'com.android.tools.build:gradle:1.0.0'
9+
classpath 'com.android.tools.build:gradle:1.2.3'
1010
classpath "com.github.dcendents:android-maven-plugin:1.2"
1111
}
1212
}
1313

1414
subprojects {
1515
group = 'com.jaspersoft.android.sdk'
1616

17+
ext.clientModuleVersion = '1.10'
18+
ext.clientModuleVersionCode = 9011000
19+
1720
ext.androidMinSdkVersion = 9
18-
ext.androidTargetSdkVersion = 19
19-
ext.androidCompileSdkVersion = 19
20-
ext.androidBuildToolsVersion = "19.1"
21+
ext.androidBuildToolsVersion = '21.1.2'
22+
ext.androidCompileSdkVersion = 21
23+
ext.androidTargetSdkVersion = 21
2124

2225
repositories {
2326
jcenter()
24-
mavenCentral()
25-
mavenLocal()
2627
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
2728
maven { url "file://${System.getenv("ANDROID_HOME")}/extras/android/m2repository" }
2829
}

client/build.gradle

+28-4
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ apply plugin: 'com.android.library'
22
apply plugin: 'com.github.dcendents.android-maven'
33

44
description = 'js-android-sdk-client'
5-
version = '1.9.3'
5+
version = clientModuleVersion
66

77
ext {
88
PUBLISH_GROUP_ID = group
99
PUBLISH_ARTIFACT_ID = description
10-
PUBLISH_VERSION = '1.9.3'
10+
PUBLISH_VERSION = clientModuleVersion
1111
}
1212

1313
android {
@@ -17,10 +17,14 @@ android {
1717
defaultConfig {
1818
minSdkVersion androidMinSdkVersion
1919
targetSdkVersion androidTargetSdkVersion
20-
versionCode 9010930
20+
versionCode clientModuleVersionCode
2121
versionName version
2222
}
23-
23+
compileOptions {
24+
sourceCompatibility JavaVersion.VERSION_1_7
25+
targetCompatibility JavaVersion.VERSION_1_7
26+
encoding 'ISO-8859-1'
27+
}
2428
packagingOptions {
2529
exclude 'META-INF/notice.txt'
2630
exclude 'META-INF/license.txt'
@@ -39,6 +43,8 @@ android {
3943
}
4044

4145
dependencies {
46+
compile 'com.android.support:support-annotations:22.2.0'
47+
compile 'com.google.code.gson:gson:2.3.1'
4248
compile 'org.springframework.android:spring-android-rest-template:1.0.1.RELEASE'
4349
compile 'com.octo.android.robospice:robospice:1.4.14'
4450
compile 'com.octo.android.robospice:robospice-spring-android:1.4.14'
@@ -47,6 +53,24 @@ dependencies {
4753
exclude group: 'stax', module: 'stax-api'
4854
exclude group: 'xpp3', module: 'xpp3'
4955
}
56+
// Junit
57+
testCompile('junit:junit:4.12') {
58+
exclude group: 'org.hamcrest'
59+
}
60+
// JunitParams
61+
testCompile('pl.pragmatists:JUnitParams:1.0.4') {
62+
exclude group: 'org.hamcrest'
63+
}
64+
// Hamcrest Matchers for Junit
65+
testCompile 'org.hamcrest:hamcrest-integration:1.3'
66+
// Mockito
67+
testCompile "org.mockito:mockito-core:1.10.19"
68+
// Robolectric + Support v4
69+
testCompile('org.robolectric:shadows-support-v4:3.0-rc3') {
70+
exclude group: 'commons-logging', module: 'commons-logging'
71+
exclude group: 'org.apache.httpcomponents', module: 'httpclient'
72+
}
73+
testCompile 'org.robolectric:shadows-httpclient:3.0-rc3'
5074
}
5175

5276
apply from: '../scripts/android-release-aar.gradle'

client/src/androidTest/AndroidManifest.xml

-31
This file was deleted.

client/src/androidTest/java/com/jaspersoft/android/sdk/integration/CheckReportStatusRequestTest.java

-35
This file was deleted.

client/src/androidTest/java/com/jaspersoft/android/sdk/integration/GetRootFolderDataRequestTest.java

-27
This file was deleted.

client/src/androidTest/java/com/jaspersoft/android/sdk/integration/ReportDetailsRequestTest.java

-34
This file was deleted.

client/src/androidTest/java/com/jaspersoft/android/sdk/integration/RunReportExportsRequestTest.java

-54
This file was deleted.

client/src/androidTest/java/com/jaspersoft/android/sdk/integration/utils/ProtoInstrumentation.java

-54
This file was deleted.

client/src/androidTest/java/com/jaspersoft/android/sdk/integration/utils/SampleData.java

-39
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package com.jaspersoft.android.sdk.client;
2+
3+
import android.support.annotation.NonNull;
4+
5+
import org.springframework.http.converter.HttpMessageConverter;
6+
7+
/**
8+
* @author Tom Koptel
9+
* @since 1.10
10+
*/
11+
interface DataTypeConverterCreator<T extends HttpMessageConverter<?>> {
12+
@NonNull
13+
T create();
14+
}

0 commit comments

Comments
 (0)