Hi all.
I have a problem when adding dependency into the file build.gradle
implementation 'com.squareup:square:27.1.0.20230119'
I got the error when build
Execution failed for task ‘:compileJava’.
Could not resolve all files for configuration ‘:compileClasspath’.
Could not find org.apache.maven:maven-core:${project.prerequisites.maven}.
Required by:
project : > com.squareup:square:27.1.0.20230119 > io.apimatic:core:0.3.0 > org.jacoco:jacoco-maven-plugin:0.8.5
Possible solution:
- Declare repository providing the artifact, see the documentation at Declaring repositories
I use:
- Square SDK version: 27.1.0.20230119
- Gradle: 7.6
- JDK: 11
Please help me resolve this prolem.
Thanks