File tree Expand file tree Collapse file tree 5 files changed +90
-221
lines changed
smart-contract/hyperledger-fabric/v2/java
specs/hu/bme/mit/ftsrg/chaincode/tpcc/data/entity
src/main/java/hu/bme/mit/ftsrg/chaincode/tpcc Expand file tree Collapse file tree 5 files changed +90
-221
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ plugins {
18
18
application
19
19
id(" com.github.johnrengelman.shadow" ) version " 7.1.2"
20
20
id(" com.diffplug.spotless" ) version " 6.19.0"
21
+ id(" io.freefair.lombok" ) version " 8.6"
22
+ id(" io.freefair.aspectj.post-compile-weaving" ) version " 8.6"
21
23
}
22
24
23
25
// java { toolchain { languageVersion.set(JavaLanguageVersion.of(17)) } }
@@ -35,14 +37,14 @@ dependencies {
35
37
implementation(" org.slf4j:slf4j-api:2.0.13" )
36
38
implementation(" org.slf4j:slf4j-simple:2.0.13" )
37
39
implementation(" com.fasterxml.jackson.core:jackson-databind:2.15.2" )
38
- implementation(" com.jcabi:jcabi-aspects:0.25.1" )
39
- implementation(" org.aspectj:aspectjrt:1.9.19" )
40
- implementation(" org.aspectj:aspectjweaver:1.9.19" )
40
+ implementation(" com.jcabi:jcabi-aspects:0.26.0" )
41
41
implementation(" org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim:2.5.0" )
42
42
implementation(" org.hyperledger.fabric:fabric-protos:0.3.0" )
43
43
implementation(files(" libs/hypernate-0.1.0-alpha.jar" ))
44
44
implementation(files(" $openJMLDir /jmlruntime.jar" ))
45
45
46
+ aspect(" com.jcabi:jcabi-aspects:0.26.0" )
47
+
46
48
testImplementation(" org.assertj:assertj-core:3.11.1" )
47
49
testImplementation(" org.junit.jupiter:junit-jupiter:5.4.2" )
48
50
testImplementation(" org.mockito:mockito-core:2.28.2" )
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ package hu.bme.mit.ftsrg.chaincode.tpcc.data.entity;
4
4
5
5
import hu.bme.mit.ftsrg.hypernate.entity.Entity;
6
6
7
- public class Customer implements Entity {
7
+ public final class Customer implements Entity {
8
8
9
9
public /*@ pure @*/ int getC_id();
10
10
You can’t perform that action at this time.
0 commit comments