forked from temporalio/money-transfer-project-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
37 lines (31 loc) · 1.23 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
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* User Manual available at https://docs.gradle.org/7.0.2/userguide/tutorial_java_projects.html
*/
plugins {
id 'java'
}
repositories {
mavenCentral()
}
dependencies {
// These dependencies are used by the application.
implementation group: 'io.temporal', name: 'temporal-sdk', version: '1.11.0'
implementation group: 'com.google.guava', name: 'guava', version: '31.0.1-jre'
implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.11'
// Use JUnit test framework
testImplementation group: 'io.temporal', name: 'temporal-testing', version: '1.11.0'
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
testImplementation group: 'org.mockito', name: 'mockito-core', version: '4.5.1'
}
task initiateTransfer(type: JavaExec) {
main = 'moneytransferapp.InitiateMoneyTransfer'
classpath = sourceSets.main.runtimeClasspath
}
task startWorker(type: JavaExec) {
main = 'moneytransferapp.MoneyTransferWorker'
classpath = sourceSets.main.runtimeClasspath
}