加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 1.32 KB
一键复制 编辑 原始数据 按行查看 历史
beifengtz 提交于 2023-07-09 23:17 . feat publish 2.1.5
group = 'io.github.tzfun.jvmm'
version = '2.1.5'
ext {
nettyVersion = "4.1.92.Final"
nettyNativeSslVersion = "2.0.41.Final"
junitJupiterVersion = "5.7.0"
slf4jVersion = "1.7.30"
gsonVersoion = "2.10.1"
cfrVersion = "0.152"
oshiVersion = "6.4.0"
snakeyamlVersion = "1.33"
asmVersion = "9.5"
}
subprojects {
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'signing'
[compileJava, compileTestJava, javadoc]*.options*.encoding = 'UTF-8'
compileJava {
options.compilerArgs << "-parameters" << "-Xlint:unchecked" << "-Xlint:deprecation"
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
repositories {
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
maven { url 'https://maven.aliyun.com/repository/public/' }
mavenCentral()
}
dependencies {
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}"
}
test {
useJUnitPlatform()
}
}
if (JavaVersion.current().isJava8Compatible()) {
allprojects {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化