获取此警告(即使在任何地方都不使用variant.getAssemble() ):
API 'variant.getAssemble()' is obsolete and has been replaced with 'variant.getAssembleProvider()'.
我更新了以下组件: Android
v3.3
分级PlugIn
v3.3
分级分布URL (gradle-wrapper.properties)
distributionUrl=https\://services.gradle.org/distributions/g
应用插件:“基本”
分级任务
Verification tasks
------------------
check - Runs all checks.
test - Runs the unit tests.
配置测试任务
test {
dependsOn bar
}
错误
Could not find method test() for arguments
[build_740ewxgjzod99mmq37aj1jekp$_run_closure17@3e64d862]
on root project 'foo' of type org.gradle.api.P
我有一个多模块的分级项目,我试图升级到2.0.0-M3。按照的说明,我将其添加到构建脚本中:
springBoot {
executable = true
}
但是,当我构建时,我会得到以下错误:
Could not set unknown property 'executable' for object of type org.springframework.boot.gradle.dsl.SpringBootExtension.
是里程碑上的什么东西坏了还是我做错了什么?