Split off library classes from server/patch/ into diff/

The server library is large, and its resulting compilation time gets
in the way of edit/compile/debug cycles.

The new diff library files depend mainly on JGit, and are independent
of the Guice stack in the server library.

Change-Id: I483992fff91873b1c1751c16fe3a83b823f4f8fa
This commit is contained in:
Han-Wen Nienhuys
2017-11-10 11:35:12 +01:00
parent 309fc90ea9
commit 0d157b3561
75 changed files with 263 additions and 150 deletions

View File

@@ -7,6 +7,7 @@ java_library(
"//java/com/google/gerrit/extensions:api",
"//java/com/google/gerrit/reviewdb:server",
"//java/com/google/gerrit/server",
"//java/com/google/gerrit/server/diff",
"//lib:gwtorm",
"//lib/jgit/org.eclipse.jgit:jgit",
"//lib/log:api",

View File

@@ -15,8 +15,8 @@
package gerrit;
import com.google.gerrit.reviewdb.client.Patch;
import com.google.gerrit.server.patch.PatchList;
import com.google.gerrit.server.patch.PatchListEntry;
import com.google.gerrit.server.diff.PatchList;
import com.google.gerrit.server.diff.PatchListEntry;
import com.google.gerrit.server.rules.StoredValues;
import com.googlecode.prolog_cafe.exceptions.IllegalTypeException;
import com.googlecode.prolog_cafe.exceptions.PInstantiationException;

View File

@@ -14,9 +14,9 @@
package gerrit;
import com.google.gerrit.server.patch.PatchList;
import com.google.gerrit.server.patch.PatchListEntry;
import com.google.gerrit.server.patch.Text;
import com.google.gerrit.server.diff.PatchList;
import com.google.gerrit.server.diff.PatchListEntry;
import com.google.gerrit.server.diff.Text;
import com.google.gerrit.server.rules.StoredValues;
import com.googlecode.prolog_cafe.exceptions.IllegalTypeException;
import com.googlecode.prolog_cafe.exceptions.JavaException;

View File

@@ -15,8 +15,8 @@
package gerrit;
import com.google.gerrit.reviewdb.client.Patch;
import com.google.gerrit.server.patch.PatchList;
import com.google.gerrit.server.patch.PatchListEntry;
import com.google.gerrit.server.diff.PatchList;
import com.google.gerrit.server.diff.PatchListEntry;
import com.google.gerrit.server.rules.StoredValues;
import com.googlecode.prolog_cafe.exceptions.PrologException;
import com.googlecode.prolog_cafe.lang.IntegerTerm;