cordova-plugin-fetch icon indicating copy to clipboard operation
cordova-plugin-fetch copied to clipboard

Can't compile

Open jirihajek opened this issue 2 years ago • 1 comments

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 avatar Aug 26 '22 07:08 jirihajek

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.

jirihajek avatar Aug 26 '22 07:08 jirihajek