According to the documentation [1], the expected values for testonly are True and False. Replace all the current usages of "1" with "True". [1] https://docs.bazel.build/versions/master/be/common-definitions.html Change-Id: I89417f6f9d56e126a6b05edeaaa946934799ab23
		
			
				
	
	
		
			47 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
java_library(
 | 
						|
    name = "duct-tape",
 | 
						|
    testonly = True,
 | 
						|
    data = ["//lib:LICENSE-testcontainers"],
 | 
						|
    visibility = ["//visibility:public"],
 | 
						|
    exports = ["@duct-tape//jar"],
 | 
						|
)
 | 
						|
 | 
						|
java_library(
 | 
						|
    name = "visible-assertions",
 | 
						|
    testonly = True,
 | 
						|
    data = ["//lib:LICENSE-testcontainers"],
 | 
						|
    visibility = ["//visibility:public"],
 | 
						|
    exports = ["@visible-assertions//jar"],
 | 
						|
)
 | 
						|
 | 
						|
java_library(
 | 
						|
    name = "jna",
 | 
						|
    testonly = True,
 | 
						|
    data = ["//lib:LICENSE-Apache2.0"],
 | 
						|
    visibility = ["//visibility:public"],
 | 
						|
    exports = ["@jna//jar"],
 | 
						|
)
 | 
						|
 | 
						|
java_library(
 | 
						|
    name = "testcontainers",
 | 
						|
    testonly = True,
 | 
						|
    data = ["//lib:LICENSE-testcontainers"],
 | 
						|
    visibility = ["//visibility:public"],
 | 
						|
    exports = ["@testcontainers//jar"],
 | 
						|
    runtime_deps = [
 | 
						|
        ":duct-tape",
 | 
						|
        ":jna",
 | 
						|
        ":visible-assertions",
 | 
						|
        "//lib/log:ext",
 | 
						|
    ],
 | 
						|
)
 | 
						|
 | 
						|
java_library(
 | 
						|
    name = "testcontainers-elasticsearch",
 | 
						|
    testonly = True,
 | 
						|
    data = ["//lib:LICENSE-testcontainers"],
 | 
						|
    visibility = ["//visibility:public"],
 | 
						|
    exports = ["@testcontainers-elasticsearch//jar"],
 | 
						|
    runtime_deps = [":testcontainers"],
 | 
						|
)
 |