Skip to content

Commit

Permalink
Merge pull request #492 from journeyapps/upgrade
Browse files Browse the repository at this point in the history
Upgrade tooling
  • Loading branch information
rkistner authored Sep 7, 2019
2 parents 28c646b + c0c0fcd commit 3133240
Show file tree
Hide file tree
Showing 20 changed files with 14 additions and 251 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ android:
- tools
- tools
- platform-tools
- build-tools-27.0.3
- build-tools-28.0.3

- extra-android-support
- extra-android-m2repository
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.android.tools.build:gradle:3.5.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
}
}
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Nov 02 19:05:07 SAST 2018
#Sat Sep 07 15:17:02 SAST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
1 change: 0 additions & 1 deletion sample-nosupport/.gitignore

This file was deleted.

24 changes: 0 additions & 24 deletions sample-nosupport/build.gradle

This file was deleted.

17 changes: 0 additions & 17 deletions sample-nosupport/proguard-rules.txt

This file was deleted.

21 changes: 0 additions & 21 deletions sample-nosupport/src/main/AndroidManifest.xml

This file was deleted.

106 changes: 0 additions & 106 deletions sample-nosupport/src/main/java/example/zxing/MainActivity.java

This file was deleted.

Binary file removed sample-nosupport/src/main/res/drawable-hdpi/icon.png
Binary file not shown.
Binary file removed sample-nosupport/src/main/res/drawable-mdpi/icon.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
33 changes: 0 additions & 33 deletions sample-nosupport/src/main/res/layout/activity_main.xml

This file was deleted.

16 changes: 0 additions & 16 deletions sample-nosupport/src/main/res/layout/fragment_scan.xml

This file was deleted.

7 changes: 0 additions & 7 deletions sample-nosupport/src/main/res/values/dimens.xml

This file was deleted.

9 changes: 0 additions & 9 deletions sample-nosupport/src/main/res/values/strings.xml

This file was deleted.

7 changes: 0 additions & 7 deletions sample-nosupport/src/main/res/values/styles.xml

This file was deleted.

11 changes: 8 additions & 3 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}


Expand All @@ -59,13 +63,14 @@ dependencies {
// compile 'com.journeyapps:zxing-android-embedded:<version>'
implementation project(':zxing-android-embedded')

implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.legacy:legacy-support-v13:1.0.0'

// leakcanary is for development purposes only
// https://github.com/square/leakcanary
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'androidx.legacy:legacy-support-v13:1.0.0'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5'
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5'

// AboutLibraries
implementation "com.mikepenz:aboutlibraries:6.2.0"
implementation "com.mikepenz:aboutlibraries:6.2.3"
}
1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
include ':zxing-android-embedded'
include ':sample'
include ':sample-nosupport'
4 changes: 2 additions & 2 deletions zxing-android-embedded/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

testOptions {
Expand Down

0 comments on commit 3133240

Please sign in to comment.