Gradle 소스코드
apply plugin: 'com.android.application'
apply plugin: 'realm-android'
android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
applicationId "com.example.myapplication"
minSdkVersion 29
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:25.3.0'
//noinspection GradleCompatible
implementation 'com.android.support:recyclerview-v7:25.3.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.0-beta4'
testImplementation 'junit:junit:4.12'
implementation 'com.jakewharton:butterknife:8.6.0'
implementation 'com.jakewharton:butterknife-compiler:8.6.0'
}
에러코드
INFO: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed soon. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Affected Modules: app
compile 말고 implementation으로 대체하라는 걸 알고 있어서, 대체를 하였는데.. .
compile이란 것이 없는데 왜 이런 오류가 나오나요?