Add delete-project as a core plugin
Also add dependency on Mockito, which is now exported in the acceptance framework. There are several other plugins using this dependency, so exporting it in the acceptance framework will have the nice side effect that we no longer need to keep updating them individually. Also note that one of the other plugins that uses Mockito is the webhooks plugin, which is also planned to be added as a core plugin. Feature: Issue 8863 Change-Id: I72c0694ec6fcbabc2ef030014268738aa69cb707
This commit is contained in:
		
							
								
								
									
										35
									
								
								lib/mockito/BUILD
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								lib/mockito/BUILD
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,35 @@
 | 
			
		||||
package(
 | 
			
		||||
    default_testonly = 1,
 | 
			
		||||
    default_visibility = ["//visibility:private"],
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
java_library(
 | 
			
		||||
    name = "mockito",
 | 
			
		||||
    data = ["//lib:LICENSE-Apache2.0"],
 | 
			
		||||
    # Only exposed for plugin tests; core tests should use Easymock
 | 
			
		||||
    visibility = ["//java/com/google/gerrit/acceptance:__pkg__"],
 | 
			
		||||
    exports = ["@mockito//jar"],
 | 
			
		||||
    runtime_deps = [
 | 
			
		||||
        ":byte-buddy",
 | 
			
		||||
        ":byte-buddy-agent",
 | 
			
		||||
        ":objenesis",
 | 
			
		||||
    ],
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
java_library(
 | 
			
		||||
    name = "byte-buddy",
 | 
			
		||||
    data = ["//lib:LICENSE-Apache2.0"],
 | 
			
		||||
    exports = ["@byte-buddy//jar"],
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
java_library(
 | 
			
		||||
    name = "byte-buddy-agent",
 | 
			
		||||
    data = ["//lib:LICENSE-Apache2.0"],
 | 
			
		||||
    exports = ["@byte-buddy-agent//jar"],
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
java_library(
 | 
			
		||||
    name = "objenesis",
 | 
			
		||||
    data = ["//lib:LICENSE-Apache2.0"],
 | 
			
		||||
    exports = ["@objenesis//jar"],
 | 
			
		||||
)
 | 
			
		||||
		Reference in New Issue
	
	Block a user