forked from hashgraph/hedera-proof-of-action-microservice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
66 lines (52 loc) · 1.64 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
buildscript {
dependencies {
classpath "org.postgresql:postgresql:42.2.12"
}
}
plugins {
id "java"
id "application"
id "com.github.johnrengelman.shadow" version "5.2.0"
id "org.flywaydb.flyway" version "6.4.0"
}
repositories {
jcenter()
}
sourceCompatibility = 13
dependencies {
implementation "com.hedera.hashgraph:sdk-corda:2.0.0-beta.1"
implementation "io.grpc:grpc-netty:1.29.0"
// https://bouncycastle.org/java.html
implementation "org.bouncycastle:bcpkix-jdk15on:1.65"
// https://github.com/google/guava
implementation "com.google.guava:guava:29.0-jre"
// https://github.com/cdimascio/java-dotenv
implementation "io.github.cdimascio:java-dotenv:5.1.4"
// https://vertx.io/
implementation "io.vertx:vertx-core:3.9.0"
implementation "io.vertx:vertx-web:3.9.0"
implementation "io.vertx:vertx-pg-client:3.9.0"
// https://google.github.io/flogger/
implementation "com.google.flogger:flogger:0.5.1"
implementation "com.google.flogger:flogger-system-backend:0.5.1"
// https://flywaydb.org/
implementation "org.flywaydb:flyway-core:6.4.1"
implementation "org.postgresql:postgresql:42.2.12"
}
mainClassName = "com.hedera.hashgraph.poa.App"
jar {
manifest {
attributes "Main-Class": mainClassName
}
}
shadowJar {
// by default, this plugin generates a new `-all` jar
// the empty string makes it override the non-all jar
classifier = ""
}
flyway {
url = "jdbc:postgresql://localhost/hedera_proof_of_action__dev"
user = "postgres"
password = "password"
// locations = ["filesystem:src/main/resources/migrations/"]
}