代码拉取完成,页面将自动刷新
plugins {
id 'java'
}
group 'cn.myj2c'
version '1.0-SNAPSHOT'
if (!hasProperty('mainClass')) {
ext.mainClass = 'cn.myj2c.TestAllatori'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.ow2.asm:asm:9.4'
implementation 'org.ow2.asm:asm-tree:9.4'
implementation 'org.ow2.asm:asm-commons:9.4'
implementation 'org.ow2.asm:asm-util:9.4'
implementation 'commons-io:commons-io:2.11.0'
implementation 'com.google.guava:guava:31.1-jre'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}
jar {
manifest.attributes("Main-Class": getProperty('mainClass'))
}
task obfusticate(type:Exec) {
commandLine 'java', '-jar', 'allatori/allatori.jar', 'allatori/config.xml'
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
test {
useJUnitPlatform()
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。