Android tutorials: 'compile' and 'testCompile' configurations are deprecated
Replace new configuration. - 'compile' -> 'implementation' - 'testCompile' -> 'testImplementation' https://bugzilla.gnome.org/show_bug.cgi?id=797093
This commit is contained in:
parent
20d9fe541c
commit
23b989838d
@ -68,7 +68,7 @@ afterEvaluate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
testCompile 'junit:junit:4.12'
|
testImplementation 'junit:junit:4.12'
|
||||||
compile 'com.android.support:appcompat-v7:23.1.1'
|
implementation 'com.android.support:appcompat-v7:23.1.1'
|
||||||
}
|
}
|
||||||
|
@ -68,7 +68,7 @@ afterEvaluate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
testCompile 'junit:junit:4.12'
|
testImplementation 'junit:junit:4.12'
|
||||||
compile 'com.android.support:appcompat-v7:23.1.1'
|
implementation 'com.android.support:appcompat-v7:23.1.1'
|
||||||
}
|
}
|
||||||
|
@ -68,7 +68,7 @@ afterEvaluate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
testCompile 'junit:junit:4.12'
|
testImplementation 'junit:junit:4.12'
|
||||||
compile 'com.android.support:appcompat-v7:23.1.1'
|
implementation 'com.android.support:appcompat-v7:23.1.1'
|
||||||
}
|
}
|
||||||
|
@ -68,7 +68,7 @@ afterEvaluate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
testCompile 'junit:junit:4.12'
|
testImplementation 'junit:junit:4.12'
|
||||||
compile 'com.android.support:appcompat-v7:23.1.1'
|
implementation 'com.android.support:appcompat-v7:23.1.1'
|
||||||
}
|
}
|
||||||
|
@ -68,7 +68,7 @@ afterEvaluate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
testCompile 'junit:junit:4.12'
|
testImplementation 'junit:junit:4.12'
|
||||||
compile 'com.android.support:appcompat-v7:23.1.1'
|
implementation 'com.android.support:appcompat-v7:23.1.1'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user