forked from fonoster/routr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
77 lines (67 loc) · 2.19 KB
/
build.gradle
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
buildscript {
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
}
allprojects {
group 'io.routr'
version '2.0'
}
subprojects {
apply plugin: 'java'
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
compileOnly 'com.google.protobuf:protobuf-java:3.19.4'
implementation 'javax.annotation:javax.annotation-api:1.2'
implementation 'org.reflections:reflections:0.10.2'
implementation 'javax.sip:jain-sip-ri:1.3.0-91'
implementation 'org.slf4j:slf4j-api:2.0.9'
implementation 'org.apache.logging.log4j:log4j-core:2.17.1'
implementation 'org.apache.logging.log4j:log4j-1.2-api:2.17.1'
implementation 'org.apache.logging.log4j:log4j-slf4j2-impl:2.22.0'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.5'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.6'
implementation 'org.graalvm.sdk:graal-sdk:22.3.2'
implementation 'org.graalvm.truffle:truffle-api:22.3.2'
implementation 'org.graalvm.js:js:22.3.2'
implementation 'org.graalvm.regex:regex:22.3.2'
implementation 'org.eclipse.jetty:jetty-server:11.0.13'
implementation 'org.eclipse.jetty:jetty-servlet:11.0.13'
implementation 'io.nats:jnats:2.16.8'
implementation 'io.grpc:grpc-all:1.51.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}
test {
useJUnitPlatform()
// Uncomment to see test output
// testLogging {
// showStandardStreams = true
// }
}
}
project(':mods:edgeport') {
task copyRuntimeLibs(type: Copy) {
from configurations.runtimeClasspath
into "$rootDir/mods/$project.name/libs"
}
tasks.withType(Jar) {
destinationDirectory = file("$rootDir/mods/$project.name/libs")
}
}
project(':mods:requester') {
task copyRuntimeLibs(type: Copy, dependsOn: ':mods:edgeport:copyRuntimeLibs') {
from configurations.runtimeClasspath
into "$rootDir/mods/$project.name/libs"
}
tasks.withType(Jar) {
destinationDirectory = file("$rootDir/mods/$project.name/libs")
}
dependencies {
implementation project(':mods:edgeport')
}
}