File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ val scalaCollectionCompatVersion = "2.12.0"
42
42
val scalacheckVersion = " 1.17.0"
43
43
val shapelessVersion = " 2.3.12"
44
44
val slf4jVersion = " 2.0.13"
45
- val tensorflowMetadataVersion = " 1.10 .0"
45
+ val tensorflowMetadataVersion = " 1.15 .0"
46
46
val tensorflowVersion = " 0.5.0"
47
47
48
48
// project
@@ -229,16 +229,17 @@ ThisBuild / mimaBinaryIssueFilters ++= Seq(
229
229
ThisBuild / tlVersionIntroduced := Map (" 3" -> " 0.8.0" )
230
230
231
231
// protobuf
232
+ val protocJavaSourceManaged =
233
+ settingKey[File ](" Default directory for java sources generated by protoc." )
232
234
ThisBuild / PB .protocVersion := protobufVersion
233
235
lazy val scopedProtobufSettings = Def .settings(
234
236
PB .targets := Seq (
235
- PB .gens.java -> (ThisScope .copy(config = Zero ) / sourceManaged).value /
236
- " compiled_proto" /
237
- configuration.value.name
237
+ PB .gens.java(protobufVersion) -> Defaults .configSrcSub(protocJavaSourceManaged).value
238
238
),
239
239
managedSourceDirectories ++= PB .targets.value.map(_.outputPath)
240
240
)
241
241
lazy val protobufSettings = Seq (
242
+ protocJavaSourceManaged := sourceManaged.value / " compiled_proto" ,
242
243
PB .additionalDependencies := Seq (
243
244
" com.google.protobuf" % " protobuf-java" % protobufVersion % Provided ,
244
245
" com.google.protobuf" % " protobuf-java" % protobufVersion % Test
You can’t perform that action at this time.
0 commit comments