0 Star 0 Fork 0

风雨bu改/PDConcurrent

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 2.89 KB
一键复制 编辑 原始数据 按行查看 历史
风雨bu改 提交于 2024-03-18 20:07 . 更新配置文件
plugins {
id 'java'
id 'idea'
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
group 'fybug.nulll'
version = '0.0.2'
sourceCompatibility = '14'
targetCompatibility = '14'
configurations {
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://repo.spring.io/snapshot' }
maven { url "https://maven.aliyun.com/repository/central" }
maven { url "https://maven.aliyun.com/repository/public" }
maven { url "https://maven.aliyun.com/repository/google" }
maven { url "https://maven.aliyun.com/repository/gradle-plugin" }
maven { url "https://maven.aliyun.com/repository/spring" }
maven { url "https://maven.aliyun.com/repository/spring-plugin" }
maven { url "https://maven.aliyun.com/repository/grails-core" }
maven { url "https://maven.aliyun.com/repository/apache-snapshots" }
maven { url "http://repo.spring.io/milestone" }
}
dependencies {
implementation fileTree(dir: 'lib', includes: ['*.jar'])
compileOnly "org.jetbrains:annotations:17.0.0"
compileOnly "org.projectlombok:lombok:1.18.10"
annotationProcessor "org.projectlombok:lombok:1.18.10"
testCompile "junit:junit:4.12"
testCompileOnly "org.jetbrains:annotations:17.0.0"
testCompileOnly "org.projectlombok:lombok:1.18.10"
}
task PDConcurrent(type: Jar) {
destinationDirectory = file('jar')
manifest {
attributes(
'Manifest-Version': '1.0',
'Built-By': 'fybug/风雨bu改',
'Created-By': 'IntelliJ IDEA'
)
}
archiveFileName = 'PDConcurrent.jar'
// 打包编译输出
from sourceSets.main.output
}
task PDConcurrent_all(type: Jar) {
destinationDirectory = file('jar')
manifest {
attributes(
'Manifest-Version': '1.0',
'Built-By': 'fybug/风雨bu改',
'Created-By': 'IntelliJ IDEA'
)
}
archiveFileName = 'PDConcurrent_all.jar'
// 打包编译输出
from sourceSets.main.output
// 打包源码
from sourceSets.main.allSource
from {
// implementation 相关的引入解压并打包入新的jar中
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
task PDConcurrent_sources(type: Jar) {
destinationDirectory = file('jar')
manifest {
attributes(
'Manifest-Version': '1.0',
'Built-By': 'fybug/风雨bu改',
'Created-By': 'IntelliJ IDEA'
)
}
archiveFileName = 'PDConcurrent_sources.jar'
// 打包源码
from sourceSets.main.allSource
}
task release {
dependsOn clean
dependsOn PDConcurrent_all
dependsOn PDConcurrent
dependsOn PDConcurrent_sources
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/fybug/PDConcurrent.git
git@gitee.com:fybug/PDConcurrent.git
fybug
PDConcurrent
PDConcurrent
master

搜索帮助