Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

Configuration 'compile' in project ':barcode_scan' is deprecated. Use 'implementation' instead. #11

Closed
NatoBoram opened this issue Mar 27, 2018 · 7 comments

Comments

@NatoBoram
Copy link

NatoBoram commented Mar 27, 2018

flutter run
Launching lib/main.dart on Nexus 5 in debug mode...
Initializing gradle...                                0.8s
Resolving dependencies...                             1.2s
Running 'gradlew assembleDebug'...
Configuration 'compile' in project ':barcode_scan' is deprecated. Use 'implementation' instead.
Built build/app/outputs/apk/debug/app-debug.apk (27.2MB).
Installing build/app/outputs/apk/app.apk...           9.1s
@florian-guillemard
Copy link
Contributor

Hi,

I'm having the same "warning".. did you solved it ?

@Tr4X
Copy link

Tr4X commented May 23, 2018

Same here, any info welcomed! :)

@XtremeTheory
Copy link

Same... here...

@Tr4X
Copy link

Tr4X commented May 30, 2018

There's not much to change in fact, juste replace the "compile" in the build.gradle with "implementation"

dependencies {
    compile 'org.jetbrains.kotlin:kotlin-stdlib-jre7:1.1.2-4'
    compile 'me.dm7.barcodescanner:zxing:1.9.8'
    compile 'com.android.support:design:27.1.1'
}
dependencies {
    implementation 'org.jetbrains.kotlin:kotlin-stdlib-jre7:1.1.2-4'
    implementation 'me.dm7.barcodescanner:zxing:1.9.8'
    implementation 'com.android.support:design:27.1.1'
}

@florian-guillemard
Copy link
Contributor

Ok, thanks @Tr4X, but do we do that directly in our project or maybe something in the repo ? :)

@Tr4X
Copy link

Tr4X commented May 30, 2018

@alternadom indeed it should be done in the repo if you want your plugin to be future-proof, and it looks like the merge cited in #19 is the right way to go ;)

@KennyLisc
Copy link

please publish to https://pub.dartlang.org!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants