-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
42 lines (35 loc) · 1.12 KB
/
build.gradle
File metadata and controls
42 lines (35 loc) · 1.12 KB
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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
group = 'com.telecom.fn'
version = '1.0-SNAPSHOT'
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
repositories {
mavenCentral()
}
dependencies {
implementation "com.google.cloud.functions:functions-framework-api:1.1.0"
implementation "com.google.cloud.functions.invoker:java-function-invoker:1.3.1"
implementation 'com.google.cloud:google-cloud-tasks:2.34.0'
implementation 'com.google.cloud:google-cloud-scheduler:2.33.0'
implementation 'com.google.cloud:google-cloud-run:0.40.0' // Cloud Run Admin API
implementation "com.fasterxml.jackson.core:jackson-databind:2.16.1"
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
shadowJar {
archiveBaseName.set('fn-batch-control')
archiveClassifier.set('all')
archiveVersion.set('')
manifest {
attributes('Main-Class': 'com.google.cloud.functions.invoker.runner.Invoker')
}
mergeServiceFiles()
}
test {
useJUnitPlatform()
}