Skip to content

Commit 9aa1509

Browse files
Merge pull request #45 from readium/develop
1.0.10
2 parents bdc4589 + 2f03e62 commit 9aa1509

Some content is hidden

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

59 files changed

+2683
-1814
lines changed

readium/lcp/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.3.11'
5-
ext.support_version = '27.1.1'
4+
ext.kotlin_version = '1.3.31'
65
ext.r2branch = 'develop'
76

87
repositories {
98
google()
109
jcenter()
1110
}
1211
dependencies {
13-
classpath 'com.android.tools.build:gradle:3.3.0'
12+
classpath 'com.android.tools.build:gradle:3.4.1'
1413
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1514
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
1615
// NOTE: Do not place your application dependencies here; they belong

readium/lcp/gradle.properties

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,7 @@ org.gradle.jvmargs=-Xmx1536m
1414
# When configured, Gradle will run in incubating parallel mode.
1515
# This option should only be used with decoupled projects. More details, visit
1616
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17-
# org.gradle.parallel=true
17+
org.gradle.parallel=true
18+
org.gradle.configureondemand=true
19+
android.useAndroidX=true
20+
android.enableJetifier=true

readium/lcp/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip

readium/lcp/r2-lcp-kotlin.iml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<module external.linked.project.id="r2-lcp-kotlin" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4">
2+
<module external.system.id="GRADLE" type="JAVA_MODULE" version="4">
33
<component name="FacetManager">
4-
<facet type="java-gradle" name="Java-Gradle">
4+
<facet type="android-gradle" name="Android-Gradle">
55
<configuration>
6-
<option name="BUILD_FOLDER_PATH" value="$MODULE_DIR$/build" />
7-
<option name="BUILDABLE" value="false" />
6+
<option name="GRADLE_PROJECT_PATH" value=":" />
87
</configuration>
98
</facet>
109
</component>
11-
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="true">
10+
<component name="NewModuleRootManager" inherit-compiler-output="true">
1211
<exclude-output />
13-
<content url="file://$MODULE_DIR$">
14-
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
15-
</content>
16-
<orderEntry type="inheritedJdk" />
12+
<content url="file://$MODULE_DIR$" />
13+
<orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
1714
<orderEntry type="sourceFolder" forTests="false" />
1815
</component>
1916
</module>

readium/lcp/r2-lcp/build.gradle

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ group='com.github.readium'
1616
android {
1717
flavorDimensions "testapp"
1818

19-
compileSdkVersion 27
19+
compileSdkVersion 28
2020

2121
defaultConfig {
2222
minSdkVersion 21
23-
targetSdkVersion 27
23+
targetSdkVersion 28
2424

25-
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
25+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2626

2727
}
2828
buildTypes {
@@ -55,16 +55,20 @@ dependencies {
5555
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
5656
implementation 'com.jakewharton.timber:timber:4.7.1'
5757

58-
intTestappImplementation "com.github.readium:r2-shared-kotlin:$r2branch-SNAPSHOT"
59-
intTestappWithLcpImplementation "com.github.readium:r2-shared-kotlin:$r2branch-SNAPSHOT"
60-
6158
if (findProject(':r2-shared')) {
62-
devTestappImplementation project(':r2-shared')
63-
devTestappWithLcpImplementation project(':r2-shared')
59+
implementation project(':r2-shared')
60+
} else {
61+
implementation "com.github.readium:r2-shared-kotlin:1.0.10"
6462
}
6563

6664
implementation project(':liblcp')
6765

66+
implementation('com.mcxiaoke.koi:core:0.5.5') {
67+
exclude module: 'support-v4'
68+
}
69+
implementation('com.mcxiaoke.koi:async:0.5.5') {
70+
exclude module: 'support-v4'
71+
}
6872

6973

7074
implementation 'joda-time:joda-time:2.9.9'
@@ -73,11 +77,6 @@ dependencies {
7377
implementation 'com.github.kittinunf.fuel:fuel-android:1.16.0'
7478
implementation 'com.github.kittinunf.fuel:fuel-coroutines:1.16.0'
7579

76-
// implementation 'com.github.kittinunf.fuel:fuel-livedata:1.12.1' //for LiveData support
77-
// implementation 'com.github.kittinunf.fuel:fuel-rxjava:1.12.1' //for RxJava support
78-
// implementation 'com.github.kittinunf.fuel:fuel-gson:1.12.1' //for Gson support
79-
// implementation 'com.github.kittinunf.fuel:fuel-jackson:1.12.1' //for Jackson support
80-
// implementation 'com.github.kittinunf.fuel:fuel-moshi:1.12.1' //for Moshi support
8180
implementation 'nl.komponents.kovenant:kovenant:3.3.0'
8281
implementation 'nl.komponents.kovenant:kovenant-core:3.3.0'
8382
implementation 'nl.komponents.kovenant:kovenant-android:3.3.0'
@@ -88,7 +87,7 @@ dependencies {
8887
implementation 'org.zeroturnaround:zt-zip:1.12'
8988

9089
testImplementation 'junit:junit:4.12'
91-
androidTestImplementation 'com.android.support.test:runner:1.0.2'
92-
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
90+
androidTestImplementation 'androidx.test:runner:1.2.0'
91+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
9392
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
9493
}

0 commit comments

Comments
 (0)