Skip to content

Commit

Permalink
Merge branch 'master' of github.com:buggins/coolreader
Browse files Browse the repository at this point in the history
  • Loading branch information
buggins committed Dec 9, 2020
2 parents 17b0e8e + face267 commit 84dc2d5
Show file tree
Hide file tree
Showing 138 changed files with 65,504 additions and 29,333 deletions.
339 changes: 339 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions android/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ android {

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation project(path: ':onyxsdk-device-1.1.3-lt-r1')

// G Suite -> Google Drive API
implementation 'com.google.android.gms:play-services-auth:18.1.0'
Expand All @@ -145,6 +146,7 @@ dependencies {
implementation('com.google.apis:google-api-services-drive:v3-rev136-1.25.0') {
exclude group: 'org.apache.httpcomponents'
}
implementation project(path: ':genrescollection')

testImplementation 'junit:junit:4.13'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
Expand Down
1 change: 1 addition & 0 deletions android/app/proguard-rules-optimize.pro
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
java.lang.String series;
int seriesNumber;
java.lang.String language;
java.lang.String genres;
java.lang.String description;
long crc32;
}
Expand Down
1 change: 1 addition & 0 deletions android/genrescollection/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
36 changes: 36 additions & 0 deletions android/genrescollection/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
plugins {
id 'com.android.library'
}

android {
compileSdkVersion 30
//buildToolsVersion "30.0.2"

defaultConfig {
minSdkVersion 3
targetSdkVersion 30
versionCode 1
versionName "1.0"

consumerProguardFiles "consumer-rules.pro"
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
release_stripped {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}

dependencies {
testImplementation 'junit:junit:4.13.1'
}
Empty file.
21 changes: 21 additions & 0 deletions android/genrescollection/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
5 changes: 5 additions & 0 deletions android/genrescollection/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.coolreader.genrescollection">

</manifest>
Loading

0 comments on commit 84dc2d5

Please sign in to comment.