A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/protocolbuffers/protobuf/commit/079be27925955348d1b3cb30ffbfa33dcec5778c below:

Remove Java runtime classes from kotlin release. · protocolbuffers/protobuf@079be27 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+8

-9

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+8

-9

lines changed Original file line number Diff line number Diff line change

@@ -141,12 +141,10 @@ internal_gen_well_known_protos_java(

141 141

# Should be used as `//java/lite`.

142 142

java_library(

143 143

name = "lite",

144 -

srcs = LITE_SRCS + [

145 -

":gen_well_known_protos_javalite",

146 -

],

147 -

visibility = [

148 -

"//java/lite:__pkg__",

149 -

],

144 +

srcs = [":gen_well_known_protos_javalite"],

145 +

visibility = ["//java/lite:__pkg__"],

146 +

exports = [":lite_runtime_only"],

147 +

deps = [":lite_runtime_only"],

150 148

)

151 149 152 150

protobuf_versioned_java_library(

@@ -182,6 +180,7 @@ protobuf_java_export(

182 180

protobuf_java_library(

183 181

name = "lite_runtime_only",

184 182

srcs = LITE_SRCS,

183 +

visibility = ["//java/kotlin:__pkg__"],

185 184

)

186 185 187 186

proto_library(

Original file line number Diff line number Diff line change

@@ -26,7 +26,7 @@ kt_jvm_library(

26 26

visibility = ["//visibility:public"],

27 27

deps = [

28 28

":only_for_use_in_proto_generated_code_its_generator_and_tests",

29 -

"//java/lite",

29 +

"//java/core:lite_runtime_only",

30 30

],

31 31

)

32 32

@@ -40,7 +40,7 @@ kt_jvm_library(

40 40

name = "bytestring_lib",

41 41

srcs = ["src/main/kotlin/com/google/protobuf/ByteStrings.kt"],

42 42

visibility = ["//java:__subpackages__"],

43 -

deps = ["//java/lite"],

43 +

deps = ["//java/core:lite_runtime_only"],

44 44

)

45 45 46 46

kt_jvm_library(

@@ -116,7 +116,7 @@ kt_jvm_library(

116 116

srcs = ["src/test/kotlin/com/google/protobuf/ByteStringsTest.kt"],

117 117

deps = [

118 118

":bytestring_lib",

119 -

"//java/lite",

119 +

"//java/core:lite_runtime_only",

120 120

"@protobuf_maven//:com_google_truth_truth",

121 121

"@protobuf_maven//:junit_junit",

122 122

"@rules_kotlin//kotlin/compiler:kotlin-test",

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4