5 Star 1 Fork 0

e2wugui/MetaGame

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 1.59 KB
一键复制 编辑 原始数据 按行查看 历史
dwing 提交于 2024-02-22 16:03 . 重构工程
allprojects {
group 'com.metagame'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'idea'
repositories {
maven { url 'https://repo.huaweicloud.com/repository/maven/' }
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
maven {
allowInsecureProtocol true
url 'http://10.12.7.230:9081/repository/maven-public/'
}
mavenCentral()
mavenLocal()
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
compileJava {
sourceCompatibility '21'
targetCompatibility '21'
options.encoding 'utf-8'
options.incremental true
options.failOnError true
options.debugOptions.debugLevel = 'source,lines,vars'
options.compilerArgs += '-parameters'
}
sourceSets {
main {
java {
srcDir 'src/main/java'
}
}
}
test {
useJUnit()
}
idea {
module {
downloadSources true
}
}
}
dependencies {
implementation 'com.zezeno:zeze-java:1.3.15-SNAPSHOT'
testImplementation 'junit:junit:4.13.2'
}
idea {
module {
excludeDirs += files(
'build',
'db',
'gradle',
'lib',
'log',
'target',
'zeze_cache_1',
)
}
}
tasks.register('clearJar', Delete) {
delete 'lib'
}
tasks.register('copyJar', Sync) {
from configurations.runtimeClasspath
into 'lib'
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/e2wugui/MetaGame.git
git@gitee.com:e2wugui/MetaGame.git
e2wugui
MetaGame
MetaGame
master

搜索帮助