forked from indeedeng/iwf-java-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
73 lines (58 loc) · 2.91 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
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java library project to get you started.
* For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle
* User Manual available at https://docs.gradle.org/7.5.1/userguide/building_java_projects.html
*/
plugins {
// Apply the java-library plugin for API and implementation separation.
id "java"
id "org.springframework.boot" version "2.7.2"
id "io.spring.dependency-management" version "1.0.12.RELEASE"
}
repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
}
dependencies {
// Use JUnit Jupiter for testing.
testImplementation "org.junit.jupiter:junit-jupiter:5.8.2"
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation "com.google.guava:guava:31.0.1-jre"
// spring
implementation "org.springframework.boot:spring-boot-starter-web"
implementation "org.springframework.boot:spring-boot-starter-test"
implementation "javax.validation:validation-api:2.0.1.Final"
implementation "io.iworkflow:iwf-java-sdk:2.1.2"
// openapi
implementation "org.openapitools:jackson-databind-nullable:0.2.1"
// jaskson
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jdk8"
implementation "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}"
implementation "com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}"
implementation "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}"
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${jacksonVersion}"
implementation "javax.annotation:javax.annotation-api:1.3.2"
implementation "io.serverlessworkflow:serverlessworkflow-api:${serverlessVersion}"
implementation "io.serverlessworkflow:serverlessworkflow-validation:${serverlessVersion}"
implementation "io.serverlessworkflow:serverlessworkflow-spi:${serverlessVersion}"
implementation "io.serverlessworkflow:serverlessworkflow-util:${serverlessVersion}"
implementation "net.thisptr:jackson-jq:1.0.0-preview.20220705"
// immutable
compileOnly "org.immutables:value:2.9.2"
annotationProcessor "org.immutables:value:2.9.2"
testImplementation "org.mockito:mockito-core:4.0.0"
testImplementation(platform("org.junit:junit-bom:5.9.2"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher") {
because("Only needed to run tests in a version of IntelliJ IDEA that bundles older versions")
}
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testRuntimeOnly("org.junit.vintage:junit-vintage-engine")
}
tasks.named("test") {
// Use JUnit Platform for unit tests.
useJUnitPlatform()
}
sourceSets.main.java.srcDirs += "$buildDir/generated/src/main/java"