31 lines
615 B
Groovy
31 lines
615 B
Groovy
|
|
plugins {
|
||
|
|
id 'java'
|
||
|
|
id 'application'
|
||
|
|
}
|
||
|
|
|
||
|
|
group = 'org.example'
|
||
|
|
version = '1.0-SNAPSHOT'
|
||
|
|
|
||
|
|
repositories {
|
||
|
|
mavenCentral()
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
implementation ('org.fisco-bcos.java-sdk:fisco-bcos-java-sdk:2.9.1')
|
||
|
|
|
||
|
|
// 添加日志实现,避免 SLF4J 警告
|
||
|
|
implementation 'org.slf4j:slf4j-simple:1.7.36'
|
||
|
|
|
||
|
|
testImplementation platform('org.junit:junit-bom:5.10.0')
|
||
|
|
testImplementation 'org.junit.jupiter:junit-jupiter'
|
||
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
||
|
|
}
|
||
|
|
|
||
|
|
test {
|
||
|
|
useJUnitPlatform()
|
||
|
|
}
|
||
|
|
|
||
|
|
application {
|
||
|
|
mainClass = 'com.org.fisco.AccountGenerator'
|
||
|
|
}
|