@@ -6,12 +6,12 @@ object Versions {
6
6
const val asm = " 9.7.1"
7
7
const val dokka = " 1.9.20" // note: must be compatible with kotlin version
8
8
const val gradle_download = " 5.3.0"
9
+ const val gradle_node = " 7.1.0"
9
10
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"
14
13
const val guava = " 31.1-jre"
14
+ const val hikaricp = " 4.0.3" // compatible with Java 8
15
15
const val javax_activation = " 1.1"
16
16
const val javax_mail = " 1.4.7"
17
17
const val javax_servlet_api = " 2.5"
@@ -24,23 +24,26 @@ object Versions {
24
24
const val junit = " 5.9.2"
25
25
const val kotlin = " 2.1.0"
26
26
const val kotlin_logging = " 1.8.3"
27
+ const val kotlin_metadata = kotlin
27
28
const val kotlinx_benchmark = " 0.4.6"
28
29
const val kotlinx_cli = " 0.3.5"
29
30
const val kotlinx_collections_immutable = " 0.3.5"
30
31
const val kotlinx_coroutines = " 1.6.4"
31
- const val kotlin_metadata = kotlin
32
32
const val kotlinx_serialization = " 1.8.0"
33
33
const val licenser = " 0.6.1"
34
+ const val lmdb_java = " 0.9.0"
34
35
const val mockk = " 1.13.3"
36
+ const val protobuf = " 4.30.2"
37
+ const val rocks_db = " 9.1.1"
35
38
const val sarif4k = " 0.5.0"
36
39
const val shadow = " 8.1.1"
37
- const val slf4j = " 1.7.36 "
40
+ const val slf4j = " 2.0.17 "
38
41
const val soot_utbot_fork = " 4.4.0-FORK-2"
39
42
const val sootup = " 1.0.0"
40
43
const val sqlite = " 3.41.2.2"
41
44
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 "
44
47
45
48
// libs for tests only
46
49
const val jgit_test_only_version = " 5.9.0.202009080501-r"
@@ -144,11 +147,6 @@ object Libs {
144
147
)
145
148
146
149
// 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
- )
152
150
val kotlinx_serialization_json = dep(
153
151
group = " org.jetbrains.kotlinx" ,
154
152
name = " kotlinx-serialization-json" ,
@@ -339,6 +337,52 @@ object Libs {
339
337
name = " commons-compress" ,
340
338
version = Versions .commons_compress_test_only_version
341
339
)
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
+ )
342
386
}
343
387
344
388
object Plugins {
@@ -357,6 +401,12 @@ object Plugins {
357
401
id = " de.undercouch.download"
358
402
)
359
403
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
+
360
410
// https://github.com/ben-manes/gradle-versions-plugin
361
411
object GradleVersions : ProjectPlugin(
362
412
version = Versions .gradle_versions,
@@ -380,6 +430,12 @@ object Plugins {
380
430
version = Versions .shadow,
381
431
id = " com.github.johnrengelman.shadow"
382
432
)
433
+
434
+ // https://github.com/square/wire
435
+ object Wire : ProjectPlugin(
436
+ version = Versions .wire,
437
+ id = " com.squareup.wire"
438
+ )
383
439
}
384
440
385
441
fun PluginDependenciesSpec.id (plugin : Plugins .ProjectPlugin ) {
0 commit comments