@@ -6,12 +6,12 @@ object Versions {
66 const val asm = " 9.7.1"
77 const val dokka = " 1.9.20" // note: must be compatible with kotlin version
88 const val gradle_download = " 5.3.0"
9+ const val gradle_node = " 7.1.0"
910 const val gradle_versions = " 0.47.0"
10-
11- // hikaricp version compatible with Java 8
12- const val hikaricp = " 4.0.3"
13-
11+ const val grpc = " 1.72.0"
12+ const val grpc_kotlin = " 1.4.3"
1413 const val guava = " 31.1-jre"
14+ const val hikaricp = " 4.0.3" // compatible with Java 8
1515 const val javax_activation = " 1.1"
1616 const val javax_mail = " 1.4.7"
1717 const val javax_servlet_api = " 2.5"
@@ -24,23 +24,26 @@ object Versions {
2424 const val junit = " 5.9.2"
2525 const val kotlin = " 2.1.0"
2626 const val kotlin_logging = " 1.8.3"
27+ const val kotlin_metadata = kotlin
2728 const val kotlinx_benchmark = " 0.4.6"
2829 const val kotlinx_cli = " 0.3.5"
2930 const val kotlinx_collections_immutable = " 0.3.5"
3031 const val kotlinx_coroutines = " 1.6.4"
31- const val kotlin_metadata = kotlin
3232 const val kotlinx_serialization = " 1.8.0"
3333 const val licenser = " 0.6.1"
34+ const val lmdb_java = " 0.9.0"
3435 const val mockk = " 1.13.3"
36+ const val protobuf = " 4.30.2"
37+ const val rocks_db = " 9.1.1"
3538 const val sarif4k = " 0.5.0"
3639 const val shadow = " 8.1.1"
37- const val slf4j = " 1.7.36 "
40+ const val slf4j = " 2.0.17 "
3841 const val soot_utbot_fork = " 4.4.0-FORK-2"
3942 const val sootup = " 1.0.0"
4043 const val sqlite = " 3.41.2.2"
4144 const val xodus = " 2.0.1"
42- const val rocks_db = " 9.1 .1"
43- const val lmdb_java = " 0.9.0 "
45+ const val wire = " 5.3 .1"
46+ const val wire_grpc_server = " 1.0.0-alpha04 "
4447
4548 // libs for tests only
4649 const val jgit_test_only_version = " 5.9.0.202009080501-r"
@@ -144,11 +147,6 @@ object Libs {
144147 )
145148
146149 // https://github.com/Kotlin/kotlinx.serialization
147- val kotlinx_serialization_core = dep(
148- group = " org.jetbrains.kotlinx" ,
149- name = " kotlinx-serialization-core" ,
150- version = Versions .kotlinx_serialization
151- )
152150 val kotlinx_serialization_json = dep(
153151 group = " org.jetbrains.kotlinx" ,
154152 name = " kotlinx-serialization-json" ,
@@ -339,6 +337,52 @@ object Libs {
339337 name = " commons-compress" ,
340338 version = Versions .commons_compress_test_only_version
341339 )
340+
341+ // https://github.com/grpc/grpc-java
342+ val grpc_api = dep(
343+ group = " io.grpc" ,
344+ name = " grpc-api" ,
345+ version = Versions .grpc
346+ )
347+ val grpc_protobuf = dep(
348+ group = " io.grpc" ,
349+ name = " grpc-protobuf" ,
350+ version = Versions .grpc
351+ )
352+ val grpc_services = dep(
353+ group = " io.grpc" ,
354+ name = " grpc-services" ,
355+ version = Versions .grpc
356+ )
357+ val grpc_netty_shaded = dep(
358+ group = " io.grpc" ,
359+ name = " grpc-netty-shaded" ,
360+ version = Versions .grpc
361+ )
362+
363+ // https://github.com/square/wire
364+ val wire_runtime = dep(
365+ group = " com.squareup.wire" ,
366+ name = " wire-runtime" ,
367+ version = Versions .wire
368+ )
369+ val wire_grpc_client = dep(
370+ group = " com.squareup.wire" ,
371+ name = " wire-grpc-client" ,
372+ version = Versions .wire
373+ )
374+
375+ // https://github.com/square/wire-grpc-server
376+ val wire_grpc_server = dep(
377+ group = " com.squareup.wiregrpcserver" ,
378+ name = " server" ,
379+ version = Versions .wire_grpc_server
380+ )
381+ val wire_grpc_server_generator = dep(
382+ group = " com.squareup.wiregrpcserver" ,
383+ name = " server-generator" ,
384+ version = Versions .wire_grpc_server
385+ )
342386}
343387
344388object Plugins {
@@ -357,6 +401,12 @@ object Plugins {
357401 id = " de.undercouch.download"
358402 )
359403
404+ // https://github.com/node-gradle/gradle-node-plugin
405+ object GradleNode : ProjectPlugin(
406+ version = Versions .gradle_node,
407+ id = " com.github.node-gradle.node"
408+ )
409+
360410 // https://github.com/ben-manes/gradle-versions-plugin
361411 object GradleVersions : ProjectPlugin(
362412 version = Versions .gradle_versions,
@@ -380,6 +430,12 @@ object Plugins {
380430 version = Versions .shadow,
381431 id = " com.github.johnrengelman.shadow"
382432 )
433+
434+ // https://github.com/square/wire
435+ object Wire : ProjectPlugin(
436+ version = Versions .wire,
437+ id = " com.squareup.wire"
438+ )
383439}
384440
385441fun PluginDependenciesSpec.id (plugin : Plugins .ProjectPlugin ) {
0 commit comments