Skip to content

Commit e738f18

Browse files
author
Mahavir Jain
authored
Merge pull request #206 from codetoart/master
used Zip4j library and bug fixed
2 parents 05249c4 + f42fd86 commit e738f18

40 files changed

+1063
-1122
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ before_install:
66

77
android:
88
components:
9-
- build-tools-26.0.2
10-
- android-26
9+
- build-tools-27.0.3
10+
- android-27
1111
- android-19
1212
- extra-android-m2repository
1313

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ FolioReader-Android is an ePub reader written in Java.
3737
### Gradle
3838
Add following dependency to your app build.gradle
3939
``` java
40-
compile 'com.folioreader:folioreader:0.3.8'
40+
compile 'com.folioreader:folioreader:0.3.9'
4141
```
4242

4343
Add maven repository to your top level build.gradle

build.gradle

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
buildscript {
2+
ext.KOTLIN_VERSION= '1.2.41'
3+
4+
ext.ANDROID_LIB_VERSION = '27.1.1'
5+
ext.R2_STREAMER_VERSION = '0.1.5'
6+
def KOTLIN_VERSION = ext.KOTLIN_VERSION
7+
28
repositories {
39
jcenter()
410
maven {
@@ -10,9 +16,11 @@ buildscript {
1016
}
1117
}
1218
dependencies {
13-
classpath 'com.android.tools.build:gradle:2.2.0'
19+
classpath 'com.android.tools.build:gradle:3.1.2'
1420
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
15-
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
21+
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
22+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
23+
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$KOTLIN_VERSION"
1624
}
1725
}
1826

folioreader/build.gradle

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
apply plugin: 'com.android.library'
22
apply from: '../config/quality/quality.gradle'
33
apply plugin: 'com.github.dcendents.android-maven'
4+
apply plugin: 'kotlin-android'
5+
apply plugin: 'kotlin-android-extensions'
46

57
ext {
68
bintrayRepo = 'maven'
@@ -15,7 +17,7 @@ ext {
1517
siteUrl = 'https://github.com/FolioReader/FolioReader-Android'
1618
gitUrl = 'https://github.com/FolioReader/FolioReader-Android.git'
1719

18-
libraryVersion = '0.3.8'
20+
libraryVersion = '0.3.9'
1921

2022
developerId = 'mobisystech'
2123
developerName = 'Folio Reader'
@@ -28,14 +30,14 @@ ext {
2830

2931
android {
3032
useLibrary 'org.apache.http.legacy'
31-
compileSdkVersion 26
32-
buildToolsVersion "26.0.2"
33+
compileSdkVersion 27
34+
buildToolsVersion "27.0.3"
3335

3436
defaultConfig {
3537
versionCode 1
3638
versionName "1.0"
3739
minSdkVersion 14
38-
targetSdkVersion 26
40+
targetSdkVersion 27
3941
}
4042

4143
sourceSets {
@@ -78,28 +80,29 @@ android {
7880
}
7981
}
8082

81-
dependencies {
82-
compile fileTree(include: ['*.jar'], dir: 'libs')
83-
compile project(':webViewMarker')
8483

85-
final ANDROID_LIB_VERSION = '26.0.2'
84+
apply from: '../folioreader/bintray/installv1.gradle'
85+
dependencies {
86+
implementation fileTree(include: ['*.jar'], dir: 'libs')
87+
implementation project(':webViewMarker')
8688

8789
//noinspection GradleDependency
88-
compile "com.android.support:appcompat-v7:$ANDROID_LIB_VERSION"
89-
compile "com.android.support:recyclerview-v7:$ANDROID_LIB_VERSION"
90-
compile "com.android.support:support-v4:$ANDROID_LIB_VERSION"
91-
compile "com.android.support:design:$ANDROID_LIB_VERSION"
90+
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
91+
implementation "com.android.support:appcompat-v7:$ANDROID_LIB_VERSION"
92+
implementation "com.android.support:recyclerview-v7:$ANDROID_LIB_VERSION"
93+
implementation "com.android.support:support-v4:$ANDROID_LIB_VERSION"
94+
implementation "com.android.support:design:$ANDROID_LIB_VERSION"
9295

93-
compile 'com.daimajia.swipelayout:library:1.2.0@aar'
94-
// r2-streamer
95-
final R2_STREAMER_VERSION = '0.1.4'
96+
implementation 'com.daimajia.swipelayout:library:1.2.0@aar'
9697

97-
compile "org.readium:r2-fetcher:$R2_STREAMER_VERSION"
98-
compile "org.readium:r2-parser:$R2_STREAMER_VERSION"
99-
compile "org.readium:r2-server:$R2_STREAMER_VERSION"
98+
//Kotlin
99+
implementation "org.jetbrains.kotlin:kotlin-stdlib:$KOTLIN_VERSION"
100100

101-
compile 'org.greenrobot:eventbus:3.1.1'
102-
}
101+
// r2-streamer
102+
api "org.readium:r2-fetcher:$R2_STREAMER_VERSION"
103+
api "org.readium:r2-parser:$R2_STREAMER_VERSION"
104+
api "org.readium:r2-server:$R2_STREAMER_VERSION"
103105

104-
apply from: '../folioreader/bintray/installv1.gradle'
106+
implementation 'org.greenrobot:eventbus:3.1.1'
107+
}
105108
apply from: '../folioreader/bintray/bintrayv1.gradle'
606 Bytes
Loading
763 Bytes
Loading
470 Bytes
Loading
606 Bytes
Loading
574 Bytes
Loading
711 Bytes
Loading

0 commit comments

Comments
 (0)