Skip to content
This repository was archived by the owner on Jul 29, 2022. It is now read-only.

Commit cba7fd3

Browse files
Merge pull request #26 from readium/develop
V1.0.2
2 parents 7fc2363 + 1ab88a5 commit cba7fd3

Some content is hidden

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

50 files changed

+1373
-870
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ allprojects {
2020
google()
2121
jcenter()
2222
maven { url 'https://jitpack.io' }
23+
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
2324
}
2425
}
2526

r2-streamer/build.gradle

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/*
2+
* Module: r2-streamer-kotlin
3+
* Developers: Aferdita Muriqi, Clément Baumann
4+
*
5+
* Copyright (c) 2018. Readium Foundation. All rights reserved.
6+
* Use of this source code is governed by a BSD-style license which is detailed in the
7+
* LICENSE file present in the project repository where this source code is maintained.
8+
*/
9+
110
apply plugin: 'com.android.library'
211
apply plugin: 'kotlin-android'
312
apply plugin: 'kotlin-android-extensions'
@@ -26,6 +35,7 @@ android {
2635
dependencies {
2736
implementation fileTree(include: ['*.jar'], dir: 'libs')
2837
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
38+
implementation 'com.jakewharton.timber:timber:4.7.0'
2939

3040
// uncomment this line to use with jitpack
3141
implementation 'com.github.readium:r2-shared-kotlin:master-SNAPSHOT'
@@ -44,8 +54,11 @@ dependencies {
4454
}
4555

4656
implementation 'com.android.support:appcompat-v7:27.1.1'
47-
implementation 'org.nanohttpd:nanohttpd:2.3.1'
48-
implementation 'org.nanohttpd:nanohttpd-nanolets:2.3.1'
57+
58+
implementation 'org.nanohttpd:nanohttpd:2.3.2-SNAPSHOT'
59+
implementation 'org.nanohttpd:nanohttpd-nanolets:2.3.2-SNAPSHOT'
60+
// implementation 'org.nanohttpd:nanohttpd:2.3.1'
61+
// implementation 'org.nanohttpd:nanohttpd-nanolets:2.3.1'
4962
implementation 'com.google.code.gson:gson:2.8.2'
5063
implementation 'commons-io:commons-io:2.4'
5164
implementation 'org.zeroturnaround:zt-zip:1.12'

r2-streamer/r2-streamer.iml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<option name="ALLOW_USER_CONFIGURATION" value="false" />
1818
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" />
1919
<option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
20-
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/src/main/res" />
20+
<option name="RES_FOLDERS_RELATIVE_PATH" value="" />
2121
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />
2222
<option name="PROJECT_TYPE" value="1" />
2323
</configuration>
@@ -113,8 +113,6 @@
113113
<sourceFolder url="file://$MODULE_DIR$/src/test/rs" isTestSource="true" />
114114
<sourceFolder url="file://$MODULE_DIR$/src/test/shaders" isTestSource="true" />
115115
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/attr" />
116-
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/blame" />
117-
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/bundles" />
118116
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/check-manifest" />
119117
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" />
120118
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/lint" />
@@ -125,20 +123,18 @@
125123
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
126124
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
127125
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
128-
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/tmp" />
129-
<excludeFolder url="file://$MODULE_DIR$/build/kotlin" />
130126
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
131127
</content>
132128
<orderEntry type="jdk" jdkName="Android API 27 Platform" jdkType="Android SDK" />
133129
<orderEntry type="sourceFolder" forTests="false" />
130+
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.41@jar" level="project" />
134131
<orderEntry type="library" name="Gradle: com.github.kittinunf.result:result:1.3.0@jar" level="project" />
135132
<orderEntry type="library" name="Gradle: org.zeroturnaround:zt-zip:1.12@jar" level="project" />
136133
<orderEntry type="library" name="Gradle: org.slf4j:slf4j-api:1.6.6@jar" level="project" />
137134
<orderEntry type="library" name="Gradle: com.mcxiaoke.koi:async-0.5.5" level="project" />
138135
<orderEntry type="library" name="Gradle: android.arch.lifecycle:common:1.1.0@jar" level="project" />
139136
<orderEntry type="library" name="Gradle: com.fasterxml.jackson.core:jackson-databind:2.8.6@jar" level="project" />
140137
<orderEntry type="library" scope="TEST" name="Gradle: org.jetbrains.kotlin:kotlin-test-annotations-common:1.2.41@jar" level="project" />
141-
<orderEntry type="library" name="Gradle: com.github.readium:r2-shared-kotlin-develop-SNAPSHOT" level="project" />
142138
<orderEntry type="library" name="Gradle: com.github.kittinunf.fuel:fuel-android-1.12.1" level="project" />
143139
<orderEntry type="library" scope="TEST" name="Gradle: com.squareup:javawriter:2.1.1@jar" level="project" />
144140
<orderEntry type="library" name="Gradle: org.jsoup:jsoup:1.10.2@jar" level="project" />
@@ -157,22 +153,21 @@
157153
<orderEntry type="library" name="Gradle: com.android.support:appcompat-v7-27.1.1" level="project" />
158154
<orderEntry type="library" name="Gradle: nl.komponents.kovenant:kovenant-combine:3.3.0@jar" level="project" />
159155
<orderEntry type="library" name="Gradle: com.fasterxml.jackson.core:jackson-core:2.8.6@jar" level="project" />
156+
<orderEntry type="library" name="Gradle: org.nanohttpd:nanohttpd-nanolets:2.3.2-SNAPSHOT@jar" level="project" />
160157
<orderEntry type="library" scope="TEST" name="Gradle: net.sf.kxml:kxml2:2.3.0@jar" level="project" />
161158
<orderEntry type="library" name="Gradle: android.arch.lifecycle:runtime-1.1.0" level="project" />
162159
<orderEntry type="library" scope="TEST" name="Gradle: com.android.support.test:runner-1.0.2" level="project" />
163160
<orderEntry type="library" name="Gradle: nl.komponents.kovenant:kovenant-functional:3.3.0@jar" level="project" />
164161
<orderEntry type="library" name="Gradle: com.android.support:support-annotations:27.1.1@jar" level="project" />
162+
<orderEntry type="library" name="Gradle: com.jakewharton.timber:timber-4.7.0" level="project" />
165163
<orderEntry type="library" name="Gradle: com.android.support:animated-vector-drawable-27.1.1" level="project" />
166164
<orderEntry type="library" scope="TEST" name="Gradle: org.jetbrains.kotlin:kotlin-test:1.2.41@jar" level="project" />
167165
<orderEntry type="library" name="Gradle: com.android.support:support-compat-27.1.1" level="project" />
168166
<orderEntry type="library" name="Gradle: android.arch.lifecycle:viewmodel-1.1.0" level="project" />
169-
<orderEntry type="library" name="Gradle: org.nanohttpd:nanohttpd-nanolets:2.3.1@jar" level="project" />
170167
<orderEntry type="library" scope="TEST" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib-common:1.2.41@jar" level="project" />
171-
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.10@jar" level="project" />
172168
<orderEntry type="library" name="Gradle: com.github.kittinunf.fuel:fuel:1.12.1@jar" level="project" />
173169
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.2.41@jar" level="project" />
174170
<orderEntry type="library" name="Gradle: com.android.support:support-vector-drawable-27.1.1" level="project" />
175-
<orderEntry type="library" name="Gradle: org.nanohttpd:nanohttpd:2.3.1@jar" level="project" />
176171
<orderEntry type="library" name="Gradle: com.android.support:support-core-utils-27.1.1" level="project" />
177172
<orderEntry type="library" name="Gradle: joda-time:joda-time:2.9.9@jar" level="project" />
178173
<orderEntry type="library" name="Gradle: com.fasterxml.jackson.core:jackson-annotations:2.8.6@jar" level="project" />
@@ -181,6 +176,8 @@
181176
<orderEntry type="library" scope="TEST" name="Gradle: com.android.support.test.espresso:espresso-core-3.0.2" level="project" />
182177
<orderEntry type="library" scope="TEST" name="Gradle: junit:junit:4.12@jar" level="project" />
183178
<orderEntry type="library" scope="TEST" name="Gradle: org.hamcrest:hamcrest-core:1.3@jar" level="project" />
179+
<orderEntry type="library" name="Gradle: org.nanohttpd:nanohttpd:2.3.2-SNAPSHOT@jar" level="project" />
180+
<orderEntry type="library" name="Gradle: com.github.readium:r2-shared-kotlin-cleanup-SNAPSHOT" level="project" />
184181
<orderEntry type="library" name="Gradle: commons-io:commons-io:2.4@jar" level="project" />
185182
<orderEntry type="library" scope="TEST" name="Gradle: com.android.support.test.espresso:espresso-idling-resource-3.0.2" level="project" />
186183
<orderEntry type="library" scope="TEST" name="Gradle: org.jetbrains.kotlin:kotlin-test-junit:1.2.41@jar" level="project" />

r2-streamer/src/androidTest/AndroidManifest.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
~ Module: r2-streamer-kotlin
4+
~ Developers: Aferdita Muriqi, Clément Baumann
5+
~
6+
~ Copyright (c) 2018. Readium Foundation. All rights reserved.
7+
~ Use of this source code is governed by a BSD-style license which is detailed in the
8+
~ LICENSE file present in the project repository where this source code is maintained.
9+
-->
10+
211
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
312
package="org.readium.r2.streamer">
413

r2-streamer/src/androidTest/java/org/readium/r2/streamer/MyTests.kt

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

r2-streamer/src/androidTest/java/org/readium/r2/streamer/XmlParser/AEXMLTest.kt

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

r2-streamer/src/main/AndroidManifest.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
<!--
2+
~ Module: r2-streamer-kotlin
3+
~ Developers: Aferdita Muriqi, Clément Baumann
4+
~
5+
~ Copyright (c) 2018. Readium Foundation. All rights reserved.
6+
~ Use of this source code is governed by a BSD-style license which is detailed in the
7+
~ LICENSE file present in the project repository where this source code is maintained.
8+
-->
9+
110
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
211
package="org.readium.r2.streamer"
312
xmlns:tools="http://schemas.android.com/tools">

r2-streamer/src/main/java/org/readium/r2/streamer/Containers/Container.kt

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

r2-streamer/src/main/java/org/readium/r2/streamer/Containers/ZipArchiveContainer.kt

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

0 commit comments

Comments
 (0)