浏览代码

Merge pull request #14407 from rmuir/cleanThisOneAlways

make gradle eclipse always run cleanEclipse
Robert Muir 10 年之前
父节点
当前提交
041c734b2d
共有 2 个文件被更改,包括 9 次插入0 次删除
  1. 7 0
      GRADLE.CHEATSHEET
  2. 2 0
      build.gradle

+ 7 - 0
GRADLE.CHEATSHEET

@@ -0,0 +1,7 @@
+As a quick helper, below are the equivalent commands from maven to gradle (TESTING.md has also been updated). You can also run "gradle tasks" to see all tasks that are available to run.
+clean -> clean
+test -> test
+verify -> check
+verify -Dskip.unit.tests -> integTest
+package -DskipTests -> assemble
+install -DskipTests -> install

+ 2 - 0
build.gradle

@@ -158,6 +158,8 @@ allprojects {
       defaultOutputDir = new File(project.buildDir, 'eclipse')
     }
   }
+  // otherwise the eclipse merging is *super confusing*
+  tasks.eclipse.dependsOn(cleanEclipse)
 }
 
 idea {