代码拉取完成,页面将自动刷新
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
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。