11apply plugin : ' com.android.library'
22apply from : ' ../config/quality/quality.gradle'
33apply plugin : ' com.github.dcendents.android-maven'
4+ apply plugin : ' kotlin-android'
5+ apply plugin : ' kotlin-android-extensions'
46
57ext {
68 bintrayRepo = ' maven'
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
2931android {
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+ }
105108apply from : ' ../folioreader/bintray/bintrayv1.gradle'
0 commit comments