代码拉取完成,页面将自动刷新
plugins {
id 'java'
}
group 'org.example'
version '1.0'
repositories {
maven { url 'https://maven.aliyun.com/nexus/content/groups/public' }
mavenCentral()
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.8.1'
//netty
implementation 'io.netty:netty-all:4.1.29.Final'
//Http utils
implementation 'org.apache.httpcomponents:httpclient:4.5.11'
//Gson
implementation 'com.google.code.gson:gson:2.8.6'
//rocksDB
implementation 'org.rocksdb:rocksdbjni:6.4.6'
// https://mvnrepository.com/artifact/com.nimbusds/nimbus-jose-jwt
implementation group: 'com.nimbusds', name: 'nimbus-jose-jwt', version: '9.10'
// Log4j
implementation 'log4j:log4j:1.2.17'
// Junit
testImplementation 'junit:junit:4.12'
//ElasticSearch
implementation 'org.elasticsearch.client:elasticsearch-rest-high-level-client:7.9.0'
//bouncyCastle
implementation 'org.bouncycastle:bcprov-jdk15on:1.65'
implementation 'org.bouncycastle:bcpkix-jdk15on:1.65'
//doip
implementation files('libs/doip-1.0.jar')
//irp
implementation files('libs/irp-1.0.jar')
//sqlite3
implementation group: 'org.xerial', name: 'sqlite-jdbc', version: '3.30.1'
}
jar {
String libs = ''
configurations.runtimeClasspath.each {
libs = libs + " libs/" + it.name
}
manifest {
attributes 'Manifest-Version': archiveVersion
attributes 'Class-Path': libs
attributes 'Main-Class': 'org.bdware.applications.entrance.satelite.Main'
}
}
task copyCertifications(type: Copy) {
from 'keys'
into 'build/libs/keys'
}
task copyData(type: Copy) {
from 'data'
into 'build/libs/data'
}
task copyDependencies(type: Copy, dependsOn: [copyCertifications, copyData]) {
from configurations.runtimeClasspath
into 'build/libs/libs'
}
task releaseAPIRepo(type: Zip, dependsOn: [jar, copyDependencies]) {
from 'build/libs'
duplicatesStrategy = DuplicatesStrategy.INCLUDE
archiveFileName = "APIRepo.zip"
destinationDirectory = file('output/')
}
task releaseRegistry(type: Zip, dependsOn: [jar, copyDependencies]) {
from 'build/libs'
duplicatesStrategy = DuplicatesStrategy.INCLUDE
archiveFileName = "DORegistry.zip"
destinationDirectory = file('output/')
}
task releaseRouter(type:Zip, dependsOn: [jar, copyDependencies]) {
from 'build/libs'
duplicatesStrategy = DuplicatesStrategy.INCLUDE
archiveFileName = "DoipRouter.zip"
destinationDirectory = file('output/')
}
task releaseSatelite(type:Zip, dependsOn: [jar, copyDependencies]) {
from 'build/libs'
duplicatesStrategy = DuplicatesStrategy.INCLUDE
archiveFileName = "DoipInSatelite.zip"
destinationDirectory = file('output/')
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。