Skip to content

Commit

Permalink
More publishing fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkistner committed Sep 7, 2019
1 parent 27c22e8 commit c0c8363
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ android {

dependencies {
// If you use this from an external project, use the following instead:
// compile 'com.journeyapps:zxing-android-embedded:<version>'
// implementation 'com.journeyapps:zxing-android-embedded:<version>'
implementation project(':zxing-android-embedded')

implementation 'androidx.appcompat:appcompat:1.0.2'
Expand Down
4 changes: 2 additions & 2 deletions zxing-android-embedded/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ project.afterEvaluate {
// remove this section.
def deps = asNode().appendNode('dependencies')

project.configurations.compile.allDependencies.each { dep ->
project.configurations.api.allDependencies.each { dep ->
def node = deps.appendNode('dependency')
node.appendNode('groupId', dep.group)
node.appendNode('artifactId', dep.name)
node.appendNode('version', dep.version)
node.appendNode('scope', 'compile')
node.appendNode('scope', 'api')
}

}
Expand Down

0 comments on commit c0c8363

Please sign in to comment.