File tree Expand file tree Collapse file tree 4 files changed +16
-14
lines changed
Expand file tree Collapse file tree 4 files changed +16
-14
lines changed Original file line number Diff line number Diff line change 1- ### 4.0.0 (2019-09-07)
1+ ### 4.0.2 (2019-09-07)
22
33* Use androidx.
44* Use zxing: core 3.4.0 by default.
55* Minimum SDK version 24.
66* Fix ArithmeticException.
77* Fix ResultPoint locations when camera is mirrored.
88
9+ ### 4.0.0 / 4.0.1 (2019-09-07)
10+
11+ * Broken release - use 4.0.2.
12+
913### 3.6.0 (2018-03-04)
1014
1115* Use zxing: core 3.3.2 by default (#360 ).
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ buildscript {
66
77 dependencies {
88 classpath ' com.android.tools.build:gradle:3.5.0'
9- classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3 '
9+ classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4 '
1010 }
1111}
1212
@@ -17,7 +17,7 @@ subprojects {
1717 mavenLocal()
1818 }
1919
20- version = ' 4.0.0 '
20+ version = ' 4.0.2 '
2121 group = ' com.journeyapps'
2222
2323 ext. androidBuildTools = ' 28.0.3'
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ android {
77 defaultConfig {
88 minSdkVersion 24
99 targetSdkVersion project. androidTargetSdk
10- versionCode 400
11- versionName " 4.0.0 "
10+ versionCode 402
11+ versionName " 4.0.2 "
1212 }
1313
1414 def validConfig
@@ -60,7 +60,7 @@ android {
6060
6161dependencies {
6262 // If you use this from an external project, use the following instead:
63- // compile 'com.journeyapps:zxing-android-embedded:<version>'
63+ // implementation 'com.journeyapps:zxing-android-embedded:<version>'
6464 implementation project(' :zxing-android-embedded' )
6565
6666 implementation ' androidx.appcompat:appcompat:1.0.2'
Original file line number Diff line number Diff line change @@ -65,12 +65,11 @@ task sourceJar(type: Jar) {
6565 from android. sourceSets. main. java. srcDirs
6666}
6767
68- publishing {
69- publications {
70- // We need this check to cover Android Studio gradle sync
71- if (project. tasks. findByPath(' bundleRelease' ) != null ) {
68+ project. afterEvaluate {
69+ publishing {
70+ publications {
7271 maven(MavenPublication ) {
73- artifact bundleRelease
72+ artifact bundleReleaseAar
7473 artifactId project. artifactId
7574
7675 artifact sourceJar
@@ -81,16 +80,15 @@ publishing {
8180 // remove this section.
8281 def deps = asNode(). appendNode(' dependencies' )
8382
84- project. configurations. compile . allDependencies. each { dep ->
83+ project. configurations. api . allDependencies. each { dep ->
8584 def node = deps. appendNode(' dependency' )
8685 node. appendNode(' groupId' , dep. group)
8786 node. appendNode(' artifactId' , dep. name)
8887 node. appendNode(' version' , dep. version)
89- node. appendNode(' scope' , ' compile ' )
88+ node. appendNode(' scope' , ' api ' )
9089 }
9190
9291 }
93-
9492 }
9593 }
9694 }
You can’t perform that action at this time.
0 commit comments