Skip to content

Commit c0c8363

Browse files
committed
More publishing fixes.
1 parent 27c22e8 commit c0c8363

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sample/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ android {
6060

6161
dependencies {
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'

zxing-android-embedded/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ project.afterEvaluate {
8080
// remove this section.
8181
def deps = asNode().appendNode('dependencies')
8282

83-
project.configurations.compile.allDependencies.each { dep ->
83+
project.configurations.api.allDependencies.each { dep ->
8484
def node = deps.appendNode('dependency')
8585
node.appendNode('groupId', dep.group)
8686
node.appendNode('artifactId', dep.name)
8787
node.appendNode('version', dep.version)
88-
node.appendNode('scope', 'compile')
88+
node.appendNode('scope', 'api')
8989
}
9090

9191
}

0 commit comments

Comments
 (0)