build.gradle ( app )
buildscript {
repositories {
mavenCentral()
jcenter()
maven { url "https://maven.google.com" }
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.2'
// 카카오 로그인 sdk를 사용하기 위해 필요.
implementation group: 'com.kakao.sdk', name: 'usermgmt', version: 1.12
// 카카오링크 sdk를 사용하기 위해 필요.
implementation group: 'com.kakao.sdk', name: 'kakaolink', version: 1.12
// 카카오톡 sdk를 사용하기 위해 필요.
implementation group: 'com.kakao.sdk', name: 'kakaotalk', version: 1.12
}
}
// Allow plugins to declare Maven dependencies via build-extras.gradle.
allprojects {
repositories {
mavenCentral();
jcenter()
maven { url 'http://devrepo.kakao.com:8088/nexus/content/groups/public/' }
}
}
build.gradle ( cordova Lib )
buildscript {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
}
}
build.gradle ( android )
buildscript {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
google()
}
dependencies {
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.android.tools.build:gradle:3.5.2'
//classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.google.gms:google-services:4.3.2'
}
}
allprojects {
repositories {
mavenCentral()
jcenter()
maven {
url 'http://devrepo.kakao.com:8088/nexus/content/groups/public/'
}
google()
}
kakao-gradle
repositories {
mavenCentral()
maven { url 'http://devrepo.kakao.com:8088/nexus/content/groups/public/' }
}
dependencies {
//compile('com.kakao.sdk:kakaotalk:1.12.0@aar') {
// transitive = true
//}
//compile('com.kakao.sdk:kakaolink:1.12.0@aar') {
// transitive = true
//}
// 카카오 로그인 sdk를 사용하기 위해 필요.
implementation group: 'com.kakao.sdk', name: 'usermgmt', version: 1.12
// 카카오링크 sdk를 사용하기 위해 필요.
implementation group: 'com.kakao.sdk', name: 'kakaolink', version: 1.12
// 카카오톡 sdk를 사용하기 위해 필요.
implementation group: 'com.kakao.sdk', name: 'kakaotalk', version: 1.12
}
A problem occurred evaluating project ‘:app’.
Could not find method implementation() for arguments [{group=com.kakao.sdk, name=usermgmt, version=1.12}] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
이런 에러가 출력 되면서 빌드 실패가 일어나는데
어떻게 해야하나요 ㅠㅠㅠㅠ
도와주세요