You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build.gradle 文件内容:
`// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: 'android'
apply plugin: 'com.droidtitan.lintcleaner'
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.3'
classpath 'com.droidtitan:lint-cleaner-plugin:0.3.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
`
输入命令:
gradle lintClean
报错信息:
Declaring custom 'clean' task when using the standard Gradle lifecycle plugins is not allowed.
The text was updated successfully, but these errors were encountered:
dependencies {
}
apply plugin: 'idea'
apply plugin: 'java'
//////////////////////////////////////////////
If issue Declaring custom 'clean' task when using the standard Gradle lifecycle plugins is not allowed.
write above code on your build.gridle(Project)file
for android version-2.3.2
build.gradle 文件内容:
`// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: 'android'
apply plugin: 'com.droidtitan.lintcleaner'
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.3'
classpath 'com.droidtitan:lint-cleaner-plugin:0.3.0'
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
`
输入命令:
gradle lintClean
报错信息:
Declaring custom 'clean' task when using the standard Gradle lifecycle plugins is not allowed.
The text was updated successfully, but these errors were encountered: