我的电脑里有这个代码 dependencies.gradle
:
project.ext.set("libraries", "")
ext.dropwizardVersion = "1.3.12"
project.libraries = [
dropwizard : "io.dropwizard:dropwizard-core:$dropwizardVersion",
dropwizard_client : "io.dropwizard:dropwizard-client:$dropwizardVersion",
dropwizardAssets : "io.dropwizard:dropwizard-assets:$dropwizardVersion",
dropwizardViews : "io.dropwizard:dropwizard-views:$dropwizardVersion",
dropwizardAuth : "io.dropwizard:dropwizard-auth:$dropwizardVersion",
...
我看到dropwizard的 Task
在dropwizard 2.x升级说明中提到的类。
我跑了 gradlew dependencyreport
这就是我得到的:
\--- project :app
+--- io.dropwizard:dropwizard-core:1.3.12 -> 2.0.10
...
+--- io.dropwizard:dropwizard-servlets:2.0.10 //this is the module that responsible for Task
你知道为什么我要得到一个更高版本的dropwizard核心吗?我怎么能强迫它给我一个版本 1.3.12
?
暂无答案!
目前还没有任何答案,快来回答吧!