ソースを参照

Add silly hacks to make Gradle behave.

Add fake jar/test tasks with dependencies on the subprojects.
Make dependencies depend on subprojects.
pull/85/head
Chris Smith 9年前
コミット
8eb64b7b86
1個のファイルの変更5行の追加0行の削除
  1. 5
    0
      build.gradle

+ 5
- 0
build.gradle ファイルの表示

149
     gradleVersion = '2.1'
149
     gradleVersion = '2.1'
150
 }
150
 }
151
 
151
 
152
+subprojects.each { evaluationDependsOn it.path }
153
+task jar(dependsOn: subprojects*.jar)
154
+task test(dependsOn: subprojects*.test)
155
+tasks.dependencies.dependsOn subprojects*.tasks.dependencies
156
+
152
 def plugin(name) {
157
 def plugin(name) {
153
     if (allprojects.find { it.name == name }) {
158
     if (allprojects.find { it.name == name }) {
154
         project(name)
159
         project(name)

読み込み中…
キャンセル
保存