Open HsHWB opened 3 years ago
处理了吗?我这边也报这个错
buildscript { ext.kotlin_version = "1.3.72" repositories { google() jcenter() } dependencies { classpath "com.android.tools.build:gradle:3.4.2" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'net.wequick.tools.build:gradle-small:1.2.0-beta3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }
configurations.all {
resolutionStrategy {
force "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
force "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
} 这个搞定了
Project的gradle,配置了small和kotlin
app的gradle配置:
gradle跑small task的时候,异常 Execution failed for task ':small'.