Skip to content

Commit 5a2470f

Browse files
committed
Merge branch 'master' of github.com:journeyapps/zxing-android-embedded
2 parents c555ffb + 545672b commit 5a2470f

File tree

5 files changed

+19
-15
lines changed

5 files changed

+19
-15
lines changed

.travis.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,22 @@ android:
1515
- 'android-sdk-preview-license-.+'
1616
- 'android-sdk-license-.+'
1717
- 'google-gdk-license-.+'
18+
19+
branches:
20+
only:
21+
- master
22+
1823
before_install:
19-
# Android SDK installation is a mess, especially with licenses. Not sure if all of this is required, but it works.
20-
- echo "$ANDROID_HOME"
21-
- mkdir -p "$ANDROID_HOME/licenses"
22-
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
23-
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
24-
- yes | sdkmanager "platforms;android-27"
24+
# Android SDK installation is a mess, especially with licenses. Not sure if all of this is required, but it works.
25+
- echo "$ANDROID_HOME"
26+
- mkdir -p "$ANDROID_HOME/licenses"
27+
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
28+
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
29+
- yes | sdkmanager "platforms;android-27"
2530

2631
script:
27-
# build includes lint and test
28-
- TERM=dumb ./gradlew build
32+
# build includes lint and test
33+
- TERM=dumb ./gradlew build
2934

3035
after_failure:
31-
- cat **/build/reports/lint-results.xml
36+
- cat **/build/reports/lint-results.xml

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ No guarantees are made on support for older SDK versions - you'll have to test t
2525

2626
## Adding aar dependency with Gradle
2727

28-
From version 4.0.0, only Android SDK 24+ is supported by default, and androidx is required.
28+
From version 4.0.2, only Android SDK 24+ is supported by default, and androidx is required.
2929

3030
Add the following to your `build.gradle` file:
3131

@@ -35,7 +35,7 @@ repositories {
3535
}
3636
3737
dependencies {
38-
implementation 'com.journeyapps:zxing-android-embedded:4.0.0'
38+
implementation 'com.journeyapps:zxing-android-embedded:4.0.2'
3939
implementation 'androidx.appcompat:appcompat:1.0.2'
4040
}
4141
@@ -53,7 +53,7 @@ repositories {
5353
}
5454
5555
dependencies {
56-
implementation('com.journeyapps:zxing-android-embedded:3.6.0') { transitive = false }
56+
implementation('com.journeyapps:zxing-android-embedded:4.0.2') { transitive = false }
5757
implementation 'androidx.appcompat:appcompat:1.0.2'
5858
implementation 'com.google.zxing:core:3.3.0'
5959
}

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
}
66

77
dependencies {
8-
classpath 'com.android.tools.build:gradle:3.5.2'
8+
classpath 'com.android.tools.build:gradle:3.5.3'
99
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
1010
}
1111
}

sample/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

zxing-android-embedded/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies {
1010

1111
api 'androidx.legacy:legacy-support-v4:1.0.0'
1212

13-
testImplementation 'junit:junit:4.12'
13+
testImplementation 'junit:junit:4.13'
1414
testImplementation "org.mockito:mockito-core:1.9.5"
1515
}
1616

0 commit comments

Comments
 (0)