Gradle 3.1
とGradle play plugin
を使いたいです。私は仕事を追加する必要があります。Gradle playプラグインのプロパティtestClassesDesleがgradleにありません。
4.0
から3.1
までの下のスニペットを解析するのに役立つことができますか? あなたが言ったように私は
task doesNotWorkIn3_1(type: Test) {
dependsOn { tasks.compilePlayBinaryTests }
testClassesDirs = project.files { [tasks.compilePlayBinaryTests.destinationDir] }
classpath = project.files { testPlayBinary.classpath }
include '**/SwaggerControllerJsonTest.class'
outputs.upToDateWhen { false }
}
感謝のために正常に動作しますが、それは助けにはなりませんでした。私は自分自身で答えを提供しました – Sergey
@ Sergey私はあなたの答えと私の違いを見ていない、何がエラーですか? – chenrui
また、私は何とか自分の答えがあなたの元の質問とは違うと思う(ファイルフォルダの観点から)。 – chenrui