我有以下情况:
flavorDimensions "project", "environment", "mode"
productFlavors {
local {
dimension "mode"
}
aar {
dimension "mode"
}
development {
dimension "environment"
applicationIdSuffix ".dev"
.....
}
test {
dimension "environment"
applicationIdSuffix ".test"
...
}
project1 {
dimension "project"
applicationId "it.com.exercise"
.....
}
project2 {
dimension "project"
applicationId "it.com.exercise2"
.....
}
}
我只想导入
的依赖项 project1LocalImplementation project(':my_custom_plugin')
但是我遇到以下错误找不到方法project1LocalImplementation()