Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile #31

Open
jirihajek opened this issue Aug 26, 2022 · 1 comment
Open

Can't compile #31

jirihajek opened this issue Aug 26, 2022 · 1 comment

Comments

@jirihajek
Copy link

I'm at v11 of Cordova and Android platform and this plugin can't compile. It complains about compile in dependencies.gradle.

I fixed the issue by changing the word to implementation, but I'm not sure whether it's correct. Anyway, the full file is now:

apply plugin: 'maven-publish'

repositories {
    mavenLocal()
    mavenCentral()
}

dependencies {
    implementation 'com.squareup.okhttp3:okhttp:4.9.0'
}
@jirihajek
Copy link
Author

To clarify: The code above compiles and the result seems to work fine. But needs to be reviewed by someone with more knowledge of Android development.

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

No branches or pull requests

1 participant