-
Notifications
You must be signed in to change notification settings - Fork 3
/
settings.gradle.kts
109 lines (95 loc) · 5.33 KB
/
settings.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
// Copyright (c) 2023 - Restate Software, Inc., Restate GmbH
//
// This file is part of the Restate e2e tests,
// which are released under the MIT license.
//
// You can find a copy of the license in file LICENSE in the root
// directory of this repository or package, or at
// https://github.com/restatedev/e2e/blob/main/LICENSE
rootProject.name = "restate-e2e"
plugins { id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0" }
include("contracts", "services:java-services", "services:http-server", "test-utils", "tests")
dependencyResolutionManagement {
repositories {
mavenCentral()
// OSSRH Snapshots repo
maven { url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/") }
}
versionCatalogs {
create("libs") {
library("restate-sdk-common", "dev.restate", "sdk-common").versionRef("restate")
library("restate-admin", "dev.restate", "admin-client").versionRef("restate")
library("restate-sdk-api", "dev.restate", "sdk-api").versionRef("restate")
library("restate-sdk-api-gen", "dev.restate", "sdk-api-gen").versionRef("restate")
library("restate-sdk-api-kotlin", "dev.restate", "sdk-api-kotlin").versionRef("restate")
library("restate-sdk-api-kotlin-gen", "dev.restate", "sdk-api-kotlin-gen")
.versionRef("restate")
library("restate-sdk-jackson", "dev.restate", "sdk-serde-jackson").versionRef("restate")
library("restate-sdk-http-vertx", "dev.restate", "sdk-http-vertx").versionRef("restate")
library("restate-sdk-request-identity", "dev.restate", "sdk-request-identity")
.versionRef("restate")
version("log4j", "2.24.1")
library("log4j-api", "org.apache.logging.log4j", "log4j-api").versionRef("log4j")
library("log4j-core", "org.apache.logging.log4j", "log4j-core").versionRef("log4j")
library("log4j-slf4j", "org.apache.logging.log4j", "log4j-slf4j-impl").versionRef("log4j")
version("jackson", "2.16.1")
library("jackson-core", "com.fasterxml.jackson.core", "jackson-core").versionRef("jackson")
library("jackson-databind", "com.fasterxml.jackson.core", "jackson-databind")
.versionRef("jackson")
library(
"jackson-parameter-names",
"com.fasterxml.jackson.module",
"jackson-module-parameter-names")
.versionRef("jackson")
library("jackson-java8", "com.fasterxml.jackson.datatype", "jackson-datatype-jdk8")
.versionRef("jackson")
library("jackson-datetime", "com.fasterxml.jackson.datatype", "jackson-datatype-jsr310")
.versionRef("jackson")
library("jackson-kotlin", "com.fasterxml.jackson.module", "jackson-module-kotlin")
.versionRef("jackson")
library("jackson-toml", "com.fasterxml.jackson.dataformat", "jackson-dataformat-toml")
.versionRef("jackson")
version("junit-jupiter", "5.10.0")
library("junit-all", "org.junit.jupiter", "junit-jupiter").versionRef("junit-jupiter")
library("junit-api", "org.junit.jupiter", "junit-jupiter-api").versionRef("junit-jupiter")
version("assertj", "3.24.2")
library("assertj", "org.assertj", "assertj-core").versionRef("assertj")
version("testcontainers", "1.19.7")
library("testcontainers-core", "org.testcontainers", "testcontainers")
.versionRef("testcontainers")
library("testcontainers-kafka", "org.testcontainers", "kafka").versionRef("testcontainers")
library("testcontainers-toxiproxy", "org.testcontainers", "toxiproxy")
.versionRef("testcontainers")
// Keep this in sync with the version used by testcontainers
library("docker", "com.github.docker-java:docker-java:3.3.6")
version("awaitility", "4.2.1")
library("awaitility", "org.awaitility", "awaitility-kotlin").versionRef("awaitility")
library("kotlinx-serialization-core", "org.jetbrains.kotlinx", "kotlinx-serialization-core")
.version("1.6.2")
library("kotlinx-serialization-json", "org.jetbrains.kotlinx", "kotlinx-serialization-json")
.version("1.6.2")
library("kotlinx-coroutines-core", "org.jetbrains.kotlinx", "kotlinx-coroutines-core")
.version("1.8.1")
version("ksp", "1.9.22-1.0.18")
library("symbol-processing-api", "com.google.devtools.ksp", "symbol-processing-api")
.versionRef("ksp")
plugin("ksp", "com.google.devtools.ksp").versionRef("ksp")
}
}
}
// Include composite build for easier local testing
if (!System.getenv("SDK_JAVA_LOCAL_BUILD").isNullOrEmpty()) {
includeBuild("../sdk-java") {
dependencySubstitution {
substitute(module("dev.restate:admin-client")).using(project(":admin-client"))
substitute(module("dev.restate:sdk-common")).using(project(":sdk-common"))
substitute(module("dev.restate:sdk-api")).using(project(":sdk-api"))
substitute(module("dev.restate:sdk-api-gen")).using(project(":sdk-api-gen"))
substitute(module("dev.restate:sdk-api-kotlin")).using(project(":sdk-api-kotlin"))
substitute(module("dev.restate:sdk-api-kotlin-gen")).using(project(":sdk-api-kotlin-gen"))
substitute(module("dev.restate:sdk-http-vertx")).using(project(":sdk-http-vertx"))
substitute(module("dev.restate:sdk-serde-jackson")).using(project(":sdk-serde-jackson"))
substitute(module("dev.restate:sdk-request-identity")).using(project(":sdk-request-identity"))
}
}
}