-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
65 lines (52 loc) · 1.39 KB
/
build.gradle
File metadata and controls
65 lines (52 loc) · 1.39 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
id 'application'
id "com.github.johnrengelman.shadow" version "5.2.0"
id 'org.web3j' version '4.8.4'
}
group 'org.muellners.finscale.contracts'
version '0.1.0'
sourceCompatibility = 11
repositories {
mavenCentral()
jcenter()
}
web3j {
generatedPackageName = 'org.muellners.finscale.contracts.generated.contracts'
excludedContracts = ['Mortal']
}
ext {
web3jVersion = '4.8.2'
logbackVersion = '1.2.3'
}
dependencies {
implementation "org.web3j:core:$web3jVersion",
"ch.qos.logback:logback-core:$logbackVersion",
"ch.qos.logback:logback-classic:$logbackVersion"
implementation("org.web3j:web3j-unit:$web3jVersion")
implementation("org.web3j:web3j-evm:$web3jVersion")
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
}
jar {
manifest {
attributes(
'Main-Class': 'org.muellners.finscale.contracts.Contracts',
'Multi-Release':'true'
)
}
}
application {
mainClassName = 'org.muellners.finscale.contracts.Contracts'
}
test {
useJUnitPlatform()
}
compileKotlin {
kotlinOptions.jvmTarget = "11"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "11"
}