1 apply plugin: 'com.android.library'
2 apply from: '../config/quality/quality.gradle'
3 apply plugin: 'com.github.dcendents.android-maven'
7 bintrayName = 'folioreader'
9 publishedGroupId = 'com.folioreader'
10 libraryName = 'FolioReader'
11 artifact = 'folioreader'
13 libraryDescription = 'An epub reader for Android'
15 siteUrl = 'https://github.com/FolioReader/FolioReader-Android'
16 gitUrl = 'https://github.com/FolioReader/FolioReader-Android.git'
18 libraryVersion = '0.3.1'
20 developerId = 'mobisystech'
21 developerName = 'Folio Reader'
22 developerEmail = 'mahavir@codetoart.com'
24 licenseName = 'FreeBSD License'
25 licenseUrl = 'https://en.wikipedia.org/wiki/FreeBSD_Documentation_License#License'
26 allLicenses = ["FreeBSD"]
30 useLibrary 'org.apache.http.legacy'
32 buildToolsVersion '27.0.3'
43 manifest.srcFile 'AndroidManifest.xml'
44 java.srcDirs = ['src/main/java']
48 java.srcDirs = ['src/test/java']
53 sourceCompatibility JavaVersion.VERSION_1_7
54 targetCompatibility JavaVersion.VERSION_1_7
58 exclude 'META-INF/ASL2.0'
59 exclude 'META-INF/DEPENDENCIES.txt'
60 exclude 'META-INF/LICENSE.txt'
61 exclude 'META-INF/NOTICE.txt'
62 exclude 'META-INF/NOTICE'
63 exclude 'META-INF/LICENSE'
64 exclude 'META-INF/DEPENDENCIES'
65 exclude 'META-INF/notice.txt'
66 exclude 'META-INF/license.txt'
67 exclude 'META-INF/dependencies.txt'
68 exclude 'META-INF/LGPL2.1'
69 exclude 'META-INF/services/javax.annotation.processing.Processor'
82 compile fileTree(include: ['*.jar'], dir: 'libs')
83 compile project(':webViewMarker')
84 compile project(':r2-streamer:r2-fetcher')
85 compile project(':r2-streamer:r2-parser')
86 compile project(':r2-streamer:r2-server')
88 final ANDROID_LIB_VERSION = '27.0.0'
90 //noinspection GradleDependency
91 compile "com.android.support:appcompat-v7:$ANDROID_LIB_VERSION"
92 compile "com.android.support:recyclerview-v7:$ANDROID_LIB_VERSION"
93 compile "com.android.support:support-v4:$ANDROID_LIB_VERSION"
94 compile "com.android.support:design:$ANDROID_LIB_VERSION"
97 compile 'com.daimajia.swipelayout:library:1.2.0@aar'
99 compile 'com.squareup:otto:1.3.8'
102 apply from: '../folioreader/bintray/installv1.gradle'
103 apply from: '../folioreader/bintray/bintrayv1.gradle'