Skip to content

Commit 613f38b

Browse files
committed
Merging with 2.3 release
2 parents 3bf4d5e + 47972ee commit 613f38b

File tree

668 files changed

+38712
-15845
lines changed

Some content is hidden

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

668 files changed

+38712
-15845
lines changed

NOTICES.txt

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,19 @@ along with Jaspersoft Mobile SDK for Android. If not, see
2525
THIRD PARTY COMPONENTS
2626
-------------------------------
2727
This software includes third party software subject to the associated copyrights, as follows:
28-
- Simple XML 2.7 (Apache 2.0) - http://simple.sourceforge.net/
29-
- Spring Android 1.0.1 (Apache 2.0) - http://www.springsource.org/spring-android
30-
- RoboSpice 1.4.11 (Apache 2.0) - https://github.com/octo-online/robospice
28+
* Software for developing case
29+
- Intellij Annotations 12.0 (Apache 2.0) - http://mvnrepository.com/artifact/com.intellij/annotations/12.0
30+
- Retrofit 2.0.0-beta1 (Apache 2.0) - https://github.com/square/retrofit/blob/master/LICENSE.txt
31+
- Rxjava 1.1.0 (Apache 2.0) - https://raw.githubusercontent.com/ReactiveX/RxJava/1.x/LICENSE
32+
33+
* Software for testing case
34+
- Equalsverifier 1.7.5 (Apache 2.0) - https://github.com/jqno/equalsverifier/blob/master/LICENSE.md
35+
- JUnitParams 1.0.4 (Apache 2.0) - https://github.com/Pragmatists/JUnitParams/blob/master/LICENSE.txt
36+
- Hamcrest Integration 1.3 (New BSD 3) - http://opensource.org/licenses/BSD-3-Clause
37+
- Powermock 1.6.2 (Apache 2.0) - https://github.com/jayway/powermock/blob/master/LICENSE.txt
38+
- Mockito 1.10.19 (MIT) - https://code.google.com/p/mockito/
39+
- OkHttp MockWebServer 2.1.0 (Apache 2.0) - https://github.com/square/okhttp/tree/master/mockwebserver
40+
- Bouncy Castle JDK 6.0 - https://github.com/bcgit/bc-java/blob/master/LICENSE.html
3141

3242
The text of licenses for the above software is included with the
3343
Jaspersoft Mobile SDK for Android package, in the /licenses folder.

build.gradle

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,36 +30,31 @@ buildscript {
3030
mavenLocal()
3131
}
3232
dependencies {
33-
classpath 'com.android.tools.build:gradle:1.2.3'
34-
classpath "com.github.dcendents:android-maven-plugin:1.2"
3533
}
3634
}
3735

3836
subprojects {
3937
group = 'com.jaspersoft.android.sdk'
4038

41-
ext.clientModuleVersion = '1.11'
42-
ext.clientModuleVersionCode = 9011100
43-
44-
ext.androidMinSdkVersion = 9
45-
ext.androidBuildToolsVersion = '21.1.2'
46-
ext.androidCompileSdkVersion = 21
47-
ext.androidTargetSdkVersion = 21
39+
ext.clientModuleVersion = '2.3'
4840

4941
repositories {
5042
jcenter()
5143
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
52-
maven { url "file://${System.getenv("ANDROID_HOME")}/extras/android/m2repository" }
5344
}
5445
}
5546

56-
apply plugin: 'java' // ensure clean is also triggered for root build folder
47+
48+
// ensure clean is also triggered for root build folder
49+
apply plugin: 'java'
5750
apply plugin: 'build-dashboard'
5851

5952
buildDashboard {
6053
reports.html.destination = "build/"
6154
}
6255

63-
test.reports.html.enabled = false // just clean up dashboard from not generated reports
64-
test.reports.junitXml.enabled = false // just clean up dashboard from not generated reports
56+
// just clean up dashboard from not generated reports
57+
test.reports.html.enabled = false
58+
// just clean up dashboard from not generated reports
59+
test.reports.junitXml.enabled = false
6560

ui/project.properties renamed to buildsystem/integration_env.properties

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,5 @@
2222
# <http://www.gnu.org/licenses/lgpl>.
2323
#
2424

25-
# This file is automatically generated by Android Tools.
26-
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
27-
#
28-
# This file must be checked in Version Control Systems.
29-
#
30-
31-
android.library=true
32-
# Project target.
33-
target=android-16
25+
servers.config.file=@servers.file.name@
26+
run.resource.count=@run.resource.count@

buildsystem/servers-default.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[
2+
{
3+
"url": "http://mobiledemo2.jaspersoft.com/jasperserver-pro/",
4+
"auth_config": [
5+
{
6+
"username": "phoneuser",
7+
"password": "phoneuser"
8+
}
9+
]
10+
}
11+
]

client/build.gradle

Lines changed: 3 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
* <http://www.gnu.org/licenses/lgpl>.
2323
*/
2424

25-
apply plugin: 'com.android.library'
26-
apply plugin: 'com.github.dcendents.android-maven'
25+
apply plugin: 'java'
2726

2827
description = 'js-android-sdk-client'
2928
version = clientModuleVersion
@@ -34,67 +33,8 @@ ext {
3433
PUBLISH_VERSION = clientModuleVersion
3534
}
3635

37-
android {
38-
compileSdkVersion androidCompileSdkVersion
39-
buildToolsVersion androidBuildToolsVersion
40-
41-
defaultConfig {
42-
minSdkVersion androidMinSdkVersion
43-
targetSdkVersion androidTargetSdkVersion
44-
versionCode clientModuleVersionCode
45-
versionName version
46-
}
47-
compileOptions {
48-
sourceCompatibility JavaVersion.VERSION_1_7
49-
targetCompatibility JavaVersion.VERSION_1_7
50-
encoding 'ISO-8859-1'
51-
}
52-
packagingOptions {
53-
exclude 'META-INF/notice.txt'
54-
exclude 'META-INF/license.txt'
55-
exclude 'META-INF/LICENSE.txt'
56-
exclude 'META-INF/NOTICE.txt'
57-
}
58-
lintOptions {
59-
abortOnError false
60-
}
61-
62-
buildTypes {
63-
debug {
64-
minifyEnabled false
65-
}
66-
}
67-
}
68-
6936
dependencies {
70-
compile 'com.android.support:support-annotations:22.2.0'
71-
compile 'com.google.code.gson:gson:2.3.1'
72-
compile 'org.springframework.android:spring-android-rest-template:1.0.1.RELEASE'
73-
compile 'com.octo.android.robospice:robospice:1.4.14'
74-
compile 'com.octo.android.robospice:robospice-spring-android:1.4.14'
75-
compile('org.simpleframework:simple-xml:2.7') {
76-
exclude group: 'stax', module: 'stax'
77-
exclude group: 'stax', module: 'stax-api'
78-
exclude group: 'xpp3', module: 'xpp3'
79-
}
80-
// Junit
81-
testCompile('junit:junit:4.12') {
82-
exclude group: 'org.hamcrest'
83-
}
84-
// JunitParams
85-
testCompile('pl.pragmatists:JUnitParams:1.0.4') {
86-
exclude group: 'org.hamcrest'
87-
}
88-
// Hamcrest Matchers for Junit
89-
testCompile 'org.hamcrest:hamcrest-integration:1.3'
90-
// Mockito
91-
testCompile "org.mockito:mockito-core:1.10.19"
92-
// Robolectric + Support v4
93-
testCompile('org.robolectric:shadows-support-v4:3.0-rc3') {
94-
exclude group: 'commons-logging', module: 'commons-logging'
95-
exclude group: 'org.apache.httpcomponents', module: 'httpclient'
96-
}
97-
testCompile 'org.robolectric:shadows-httpclient:3.0-rc3'
37+
compile project(':js-android-sdk-rx')
9838
}
9939

100-
apply from: '../scripts/android-release-aar.gradle'
40+
apply from: '../scripts/release-artifact.gradle'

client/src/main/AndroidManifest.xml

Lines changed: 0 additions & 31 deletions
This file was deleted.

client/src/main/java/com/jaspersoft/android/sdk/client/GSONDataTypeConverterCreator.java

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)