Move SubmoduleSectionParser into util/git/ , a separate java_library.

Change SubmoduleSectionParser tests to be a small test.

Change-Id: I99c9ae22b75530bb7721920ff624a6c104225653
This commit is contained in:
Han-Wen Nienhuys
2018-07-06 14:35:42 +02:00
parent 75aa75a39c
commit 7c3dfde52a
6 changed files with 65 additions and 25 deletions

View File

@@ -0,0 +1,9 @@
java_library(
name = "git",
srcs = glob(["**/*.java"]),
visibility = ["//visibility:public"],
deps = [
"//java/com/google/gerrit/reviewdb:server",
"//lib/jgit/org.eclipse.jgit:jgit",
],
)

View File

@@ -1,4 +1,4 @@
// Copyright (C) 2011 The Android Open Source Project
// Copyright (C) 2016 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.gerrit.server.util;
package com.google.gerrit.server.util.git;
import com.google.gerrit.reviewdb.client.Branch;
import com.google.gerrit.reviewdb.client.Project;