-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
57 lines (48 loc) · 2.18 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
plugins {
id 'io.freefair.lombok' version '6.5.0.2' apply false
}
allprojects {
group = 'com.strategyobject.substrateclient.examples'
version = '0.2.0'
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/strategyobject/substrate-client-java"
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_USERNAME")
password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
}
}
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'io.freefair.lombok'
def substrateClientVersion = '0.2.0'
dependencies {
implementation "com.strategyobject.substrateclient:common:${substrateClientVersion}"
implementation "com.strategyobject.substrateclient:crypto:${substrateClientVersion}"
implementation "com.strategyobject.substrateclient:scale:${substrateClientVersion}"
implementation "com.strategyobject.substrateclient:transport:${substrateClientVersion}"
implementation "com.strategyobject.substrateclient:rpc:${substrateClientVersion}"
implementation "com.strategyobject.substrateclient:rpc-api:${substrateClientVersion}"
implementation "com.strategyobject.substrateclient:pallet:${substrateClientVersion}"
implementation "com.strategyobject.substrateclient:api:${substrateClientVersion}"
annotationProcessor "com.strategyobject.substrateclient:scale-codegen:${substrateClientVersion}"
annotationProcessor "com.strategyobject.substrateclient:rpc-codegen:${substrateClientVersion}"
annotationProcessor "com.strategyobject.substrateclient:pallet-codegen:${substrateClientVersion}"
implementation 'org.slf4j:slf4j-simple:1.7.36'
implementation 'org.testcontainers:testcontainers:1.17.3'
implementation 'org.bouncycastle:bcprov-jdk15on:1.70'
implementation 'org.awaitility:awaitility:4.2.0'
}
test {
useJUnitPlatform()
}
}
task runBalanceTransfer() {
dependsOn(':balance-transfer:runSelf')
}